mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
deploy-ng: Specify an abi tag when downloading wheels for other platforms with pip download
This commit is contained in:
parent
26e7c3c52b
commit
db0267abcd
@ -82,6 +82,10 @@ class build_apps(distutils.core.Command):
|
|||||||
|
|
||||||
if use_wheels:
|
if use_wheels:
|
||||||
whldir = os.path.join(self.build_base, '__whl_cache__')
|
whldir = os.path.join(self.build_base, '__whl_cache__')
|
||||||
|
abi_tag = pip.pep425tags.get_abi_tag()
|
||||||
|
|
||||||
|
if 'u' in abi_tag and not platform.startswith('manylinux'):
|
||||||
|
abi_tag = abi_tag.replace('u', '')
|
||||||
|
|
||||||
pip_args = [
|
pip_args = [
|
||||||
'download',
|
'download',
|
||||||
@ -89,6 +93,7 @@ class build_apps(distutils.core.Command):
|
|||||||
'-r', self.requirements_path,
|
'-r', self.requirements_path,
|
||||||
'--only-binary', ':all:',
|
'--only-binary', ':all:',
|
||||||
'--platform', platform,
|
'--platform', platform,
|
||||||
|
'--abi', abi_tag
|
||||||
]
|
]
|
||||||
|
|
||||||
for index in self.pypi_extra_indexes:
|
for index in self.pypi_extra_indexes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user