Browse Source

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]
rdb 1 year ago
parent
commit
e776c819b8
1 changed files with 11 additions and 1 deletions
  1. 11 1
      makepanda/makewheel.py

+ 11 - 1
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)