mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
deploy-ng: fix regression with builtin modules not being added
This happens only when the system Python has the module built-in (eg. on Ubuntu where most modules are builtin) but deploy-ng doesn't. Regression was introduced by 94b5fa1e90c6746b587bcf1796a16b6df61886c1 Fixes #264
This commit is contained in:
parent
fcacc3c2be
commit
c8da53a81f
@ -350,8 +350,9 @@ class build_apps(distutils.core.Command):
|
||||
continue
|
||||
|
||||
base = os.path.basename(i)
|
||||
whl_modules.append(base)
|
||||
whl_modules_ext = base.partition('.')[2]
|
||||
module, _, ext = base.partition('.')
|
||||
whl_modules.append(module)
|
||||
whl_modules_ext = ext
|
||||
|
||||
# Make sure to copy any builtins that have shared objects in the
|
||||
# deploy libs, assuming they are not already in freezer_extras.
|
||||
|
Loading…
x
Reference in New Issue
Block a user