From: Eli Bendersky Date: Wed, 10 Aug 2022 03:23:00 +0000 (-0700) Subject: Rejigger MANIFEST.in to properly include/exclude test stuff X-Git-Tag: v0.29 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15f032b22a9b870b66d3238822724addda643ca3;p=pyelftools.git Rejigger MANIFEST.in to properly include/exclude test stuff --- diff --git a/MANIFEST.in b/MANIFEST.in index 3c6d2e1..328d526 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,9 @@ recursive-include elftools *.py recursive-include scripts *.py recursive-include examples *.py *.elf *.out -recursive-include test *.py *.elf *.arm *.mips *.o *.so *.dat *.debug *.common +recursive-include test * +global-exclude *.py[cod] +global-exclude __pycache__ include README.rst include LICENSE include CHANGES diff --git a/test/run_dwarfdump_tests.py b/test/run_dwarfdump_tests.py index 8209e80..739130b 100644 --- a/test/run_dwarfdump_tests.py +++ b/test/run_dwarfdump_tests.py @@ -30,7 +30,7 @@ testlog.addHandler(logging.StreamHandler(sys.stdout)) # Following the readelf example, we ship our own. if platform.system() == "Darwin": # MacOS - raise NotImplementedError("Not supported on MacOS") + raise NotImplementedError("Not supported on MacOS") elif platform.system() == "Windows": raise NotImplementedError("Not supported on Windows") else: