From 15f032b22a9b870b66d3238822724addda643ca3 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Tue, 9 Aug 2022 20:23:00 -0700 Subject: [PATCH] Rejigger MANIFEST.in to properly include/exclude test stuff --- MANIFEST.in | 4 +++- test/run_dwarfdump_tests.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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: -- 2.30.2