Rejigger MANIFEST.in to properly include/exclude test stuff v0.29
authorEli Bendersky <eliben@gmail.com>
Wed, 10 Aug 2022 03:23:00 +0000 (20:23 -0700)
committerEli Bendersky <eliben@gmail.com>
Wed, 10 Aug 2022 03:23:00 +0000 (20:23 -0700)
MANIFEST.in
test/run_dwarfdump_tests.py

index 3c6d2e127121cd02357d58d7568519fe567ce92a..328d526ae9cdedc0657be43f6873637d17a2084d 100644 (file)
@@ -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
index 8209e809280b2bc35b929fe7f3a9d13624d33a8a..739130b10d6f98edf39faabff1392b74233a1600 100644 (file)
@@ -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: