From e776c819b82cef86e82229e3648a3e2316342581 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 10 Aug 2024 12:59:37 +0200 Subject: [PATCH] makewheel: Exclude interrogate from panda3d wheel This will be available separately as panda3d-interrogate wheel, built from https://github.com/panda3d/interrogate Fixes #1074 [skip ci] --- makepanda/makewheel.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/makepanda/makewheel.py b/makepanda/makewheel.py index 5c6e68d200..32b933c4ba 100644 --- a/makepanda/makewheel.py +++ b/makepanda/makewheel.py @@ -94,6 +94,16 @@ IGNORE_UNIX_DEPS_OF = [ "panda3d_tools/pstats", ] +# Tools to exclude from the wheel. +EXCLUDE_BINARIES = [ + 'eggcacher', + 'packpanda', + 'interrogate', + 'interrogate_module', + 'test_interrogate', + 'parse_file', +] + WHEEL_DATA = """Wheel-Version: 1.0 Generator: makepanda Root-Is-Purelib: false @@ -856,7 +866,7 @@ if __debug__: tools_init = '' for file in sorted(os.listdir(bin_dir)): basename = os.path.splitext(file)[0] - if basename in ('eggcacher', 'packpanda'): + if basename in EXCLUDE_BINARIES: continue source_path = os.path.join(bin_dir, file)