mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
deploy-ng: fix library suffix being stripped on FreeBSD
This commit is contained in:
parent
82ced9900e
commit
39dba025b7
@ -261,8 +261,9 @@ class build_apps(distutils.core.Command):
|
||||
# Remove python version string
|
||||
if sys.version_info >= (3, 0):
|
||||
parts = basename.split('.')
|
||||
parts = parts[:-2] + parts[-1:]
|
||||
basename = '.'.join(parts)
|
||||
if len(parts) >= 3 and '-' in parts[-2]:
|
||||
parts = parts[:-2] + parts[-1:]
|
||||
basename = '.'.join(parts)
|
||||
else:
|
||||
# Builtin module, but might not be builtin in wheel libs, so double check
|
||||
if module in whl_modules:
|
||||
|
Loading…
x
Reference in New Issue
Block a user