Browse Source

deploy-ng: Add libpython to list of libs to copy

Mitchell Stokes 9 years ago
parent
commit
83c6f033e1
1 changed files with 8 additions and 1 deletions
  1. 8 1
      direct/src/showutil/dist.py

+ 8 - 1
direct/src/showutil/dist.py

@@ -41,7 +41,14 @@ def find_packages(whlfile):
     else:
         filelist = whlfile.namelist()
 
-    return [i for i in filelist if '.so.' in i or i.endswith('.dll') or i.endswith('.dylib') or 'libpandagl' in i]
+    return [
+         i for i in filelist
+         if '.so.' in i or
+         i.endswith('.dll') or
+         i.endswith('.dylib') or
+         'libpandagl' in i or
+         'libpython' in i
+    ]
 
 
 class build(distutils.command.build.build):