mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
deploy-ng: Do not error if the panda3d wheel has no localtag
This commit is contained in:
parent
ed489ac03a
commit
6f311007f5
@ -478,7 +478,7 @@ class build_apps(setuptools.Command):
|
||||
|
||||
if self.use_optimized_wheels:
|
||||
# Check to see if we have an optimized wheel
|
||||
localtag = p3dwhlfn.split('+')[1].split('-')[0]
|
||||
localtag = p3dwhlfn.split('+')[1].split('-')[0] if '+' in p3dwhlfn else ''
|
||||
if not localtag.endswith('opt'):
|
||||
self.announce(
|
||||
'Could not find an optimized wheel (using index {}) for platform: {}'.format(self.optimized_wheel_index, platform),
|
||||
|
Loading…
x
Reference in New Issue
Block a user