mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
dist: Also accept manylinux wheels when requesting generic linux tag
This commit is contained in:
parent
6935d2badc
commit
67b89983ac
10
direct/src/dist/commands.py
vendored
10
direct/src/dist/commands.py
vendored
@ -476,10 +476,18 @@ class build_apps(setuptools.Command):
|
|||||||
'-d', whldir,
|
'-d', whldir,
|
||||||
'-r', self.requirements_path,
|
'-r', self.requirements_path,
|
||||||
'--only-binary', ':all:',
|
'--only-binary', ':all:',
|
||||||
'--platform', platform,
|
|
||||||
'--abi', abi_tag,
|
'--abi', abi_tag,
|
||||||
|
'--platform', platform,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if platform.startswith('linux_'):
|
||||||
|
# Also accept manylinux.
|
||||||
|
arch = platform[6:]
|
||||||
|
if sys.version_info >= (3, 10):
|
||||||
|
pip_args += ['--platform', 'manylinux2010_' + arch]
|
||||||
|
else:
|
||||||
|
pip_args += ['--platform', 'manylinux1_' + arch]
|
||||||
|
|
||||||
if self.use_optimized_wheels:
|
if self.use_optimized_wheels:
|
||||||
pip_args += [
|
pip_args += [
|
||||||
'--extra-index-url', self.optimized_wheel_index
|
'--extra-index-url', self.optimized_wheel_index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user