From 6f311007f5116625507a668c357e884f78852446 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Wed, 17 Oct 2018 22:08:00 -0700 Subject: [PATCH] deploy-ng: Do not error if the panda3d wheel has no localtag --- direct/src/showutil/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index 78c95fc8d5..91ba81cb22 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -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),