summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2020-03-18 10:38:16 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2020-04-22 10:25:24 +0200
commit2b35dfc9bb58e7941c9e86a38de6a901dcb0e4ff (patch)
tree130b1fcdfe0fd7bdac8b87a411039639c95e5754 /setup.py
parent14de3984fc196b2a091465dc0222799426be7711 (diff)
Remove Python 2.x support
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index 91aa1b1..5511218 100644
--- a/setup.py
+++ b/setup.py
@@ -10,9 +10,7 @@ for line in open('sounddevice.py'):
break
PYTHON_INTERPRETERS = '.'.join([
- 'cp26', 'cp27',
'cp32', 'cp33', 'cp34', 'cp35', 'cp36', 'cp37', 'cp38', 'cp39',
- 'pp27',
'pp32', 'pp33', 'pp34', 'pp35', 'pp36', 'pp37',
])
MACOSX_VERSIONS = '.'.join([
@@ -50,7 +48,7 @@ else:
"""Create OS-dependent, but Python-independent wheels."""
def get_tag(self):
- pythons = 'py2.py3.' + PYTHON_INTERPRETERS
+ pythons = 'py3.' + PYTHON_INTERPRETERS
if system == 'Darwin':
oses = MACOSX_VERSIONS
elif system == 'Windows':
@@ -59,7 +57,7 @@ else:
else:
oses = 'win_amd64'
else:
- pythons = 'py2.py3'
+ pythons = 'py3'
oses = 'any'
return pythons, 'none', oses
@@ -72,7 +70,7 @@ setup(
packages=packages,
package_data=package_data,
zip_safe=zip_safe,
- python_requires='>=2.6',
+ python_requires='>=3',
setup_requires=['CFFI>=1.0'],
install_requires=['CFFI>=1.0'],
extras_require={'NumPy': ['NumPy']},
@@ -89,7 +87,6 @@ setup(
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Sound/Audio',
],