From 3d386d2d630d928d6847bb41641073dbef592f19 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 30 Aug 2021 18:14:26 +0200 Subject: [PATCH] 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 --- direct/src/dist/commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/dist/commands.py b/direct/src/dist/commands.py index 5a81ec49dc..47422a7e47 100644 --- a/direct/src/dist/commands.py +++ b/direct/src/dist/commands.py @@ -242,6 +242,9 @@ class build_apps(setuptools.Command): 'macosx_10_6_x86_64', '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): # This version of Python is only available for 10.9+. self.platforms[1] = 'macosx_10_9_x86_64' @@ -1393,6 +1396,8 @@ class bdist_apps(setuptools.Command): DEFAULT_INSTALLERS = { 'manylinux1_x86_64': ['gztar'], 'manylinux1_i686': ['gztar'], + 'manylinux2010_x86_64': ['gztar'], + 'manylinux2010_i686': ['gztar'], # Everything else defaults to ['zip'] }