mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
bdist_apps: Fix assertion error from calling finalize_options twice
This commit is contained in:
parent
b282e8920d
commit
4d90ce5c5a
3
direct/src/dist/commands.py
vendored
3
direct/src/dist/commands.py
vendored
@ -1720,9 +1720,10 @@ class bdist_apps(setuptools.Command):
|
||||
optval = getattr(self, opt)
|
||||
if optval is not None:
|
||||
setattr(build_cmd, opt, optval)
|
||||
build_cmd.finalize_options()
|
||||
if not self.skip_build:
|
||||
self.run_command('build_apps')
|
||||
else:
|
||||
build_cmd.finalize_options()
|
||||
|
||||
platforms = build_cmd.platforms
|
||||
build_base = os.path.abspath(build_cmd.build_base)
|
||||
|
Loading…
x
Reference in New Issue
Block a user