Skip to content

Commit e5833d1

Browse files
committed
Add support for Python 3.10
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 3a5307c commit e5833d1

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

etc/scripts/README.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
This directory contains the tools to:
2-
3-
- manage a directory of thirdparty Python package source, wheels and metadata:
4-
pin, build, update, document and publish to a PyPI-like repo (GitHub release)
5-
6-
- build and publish scancode releases as wheel, sources and OS-specific bundles.
7-
1+
This directory contains the tools to manage a directory of thirdparty Python
2+
package source, wheels and metadata pin, build, update, document and publish to
3+
a PyPI-like repo (GitHub release).
84

95
NOTE: These are tested to run ONLY on Linux.
106

@@ -38,7 +34,7 @@ Scripts
3834
~~~~~~~
3935

4036
**gen_requirements.py**: create/update requirements files from currently
41-
installed requirements.
37+
installed requirements.
4238

4339
**gen_requirements_dev.py** does the same but can subtract the main requirements
4440
to get extra requirements used in only development.

etc/scripts/utils_thirdparty.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,14 @@
8787
TRACE = False
8888

8989
# Supported environments
90-
PYTHON_VERSIONS = '36', '37', '38', '39',
90+
PYTHON_VERSIONS = '36', '37', '38', '39', '310'
9191

9292
ABIS_BY_PYTHON_VERSION = {
9393
'36':['cp36', 'cp36m'],
9494
'37':['cp37', 'cp37m'],
9595
'38':['cp38', 'cp38m'],
9696
'39':['cp39', 'cp39m'],
97+
'310':['cp310', 'cp310m'],
9798
}
9899

99100
PLATFORMS_BY_OS = {
@@ -102,6 +103,7 @@
102103
'manylinux1_x86_64',
103104
'manylinux2014_x86_64',
104105
'manylinux2010_x86_64',
106+
'manylinux_2_12_x86_64',
105107
],
106108
'macos': [
107109
'macosx_10_6_intel', 'macosx_10_6_x86_64',
@@ -112,6 +114,9 @@
112114
'macosx_10_13_intel', 'macosx_10_13_x86_64',
113115
'macosx_10_14_intel', 'macosx_10_14_x86_64',
114116
'macosx_10_15_intel', 'macosx_10_15_x86_64',
117+
'macosx_10_15_x86_64',
118+
'macosx_11_0_x86_64',
119+
# 'macosx_11_0_arm64',
115120
],
116121
'windows': [
117122
'win_amd64',

0 commit comments

Comments
 (0)