mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
dist: Default to manylinux2010 for Python 3.10+
manylinux1 is not being offered for Python 3.10, so no thirdparty package will have wheels available for this
This commit is contained in:
parent
b291db2556
commit
3d386d2d63
5
direct/src/dist/commands.py
vendored
5
direct/src/dist/commands.py
vendored
@ -242,6 +242,9 @@ class build_apps(setuptools.Command):
|
|||||||
'macosx_10_6_x86_64',
|
'macosx_10_6_x86_64',
|
||||||
'win_amd64',
|
'win_amd64',
|
||||||
]
|
]
|
||||||
|
if sys.version_info >= (3, 10):
|
||||||
|
# manylinux1 is not offered for Python 3.10 anymore
|
||||||
|
self.platforms[0] = 'manylinux2010_x86_64'
|
||||||
if sys.version_info >= (3, 8):
|
if sys.version_info >= (3, 8):
|
||||||
# This version of Python is only available for 10.9+.
|
# This version of Python is only available for 10.9+.
|
||||||
self.platforms[1] = 'macosx_10_9_x86_64'
|
self.platforms[1] = 'macosx_10_9_x86_64'
|
||||||
@ -1393,6 +1396,8 @@ class bdist_apps(setuptools.Command):
|
|||||||
DEFAULT_INSTALLERS = {
|
DEFAULT_INSTALLERS = {
|
||||||
'manylinux1_x86_64': ['gztar'],
|
'manylinux1_x86_64': ['gztar'],
|
||||||
'manylinux1_i686': ['gztar'],
|
'manylinux1_i686': ['gztar'],
|
||||||
|
'manylinux2010_x86_64': ['gztar'],
|
||||||
|
'manylinux2010_i686': ['gztar'],
|
||||||
# Everything else defaults to ['zip']
|
# Everything else defaults to ['zip']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user