Skip to content

Commit dfc088c

Browse files
committed
Simplify wheel names
Modern versions of pip should be able to deal with those shorter names.
1 parent b6f3f40 commit dfc088c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

setup.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
exec(line)
1010
break
1111

12-
PYTHON_INTERPRETERS = '.'.join([
13-
'cp32', 'cp33', 'cp34', 'cp35', 'cp36', 'cp37', 'cp38', 'cp39',
14-
'pp32', 'pp33', 'pp34', 'pp35', 'pp36', 'pp37',
15-
])
1612
MACOSX_VERSIONS = '.'.join([
1713
'macosx_10_6_x86_64',
1814
])
@@ -48,7 +44,6 @@ class bdist_wheel_half_pure(bdist_wheel):
4844
"""Create OS-dependent, but Python-independent wheels."""
4945

5046
def get_tag(self):
51-
pythons = 'py3.' + PYTHON_INTERPRETERS
5247
if system == 'Darwin':
5348
oses = MACOSX_VERSIONS
5449
elif system == 'Windows':
@@ -57,9 +52,8 @@ def get_tag(self):
5752
else:
5853
oses = 'win_amd64'
5954
else:
60-
pythons = 'py3'
6155
oses = 'any'
62-
return pythons, 'none', oses
56+
return 'py3', 'none', oses
6357

6458
cmdclass = {'bdist_wheel': bdist_wheel_half_pure}
6559

0 commit comments

Comments
 (0)