Skip to content

Commit d459d45

Browse files
committed
Remove Python 2 support in setup.py
This commit edits setup.py to require Python 3.5 or greater, and removes the trove classifiers for Pythons 2, 2.7, 3.3, and 3.4, while adding the classifier for Python 3 only.
1 parent cc3dd4b commit d459d45

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def run(self):
4141
url='https://github.com/pytest-dev/pytest-localserver',
4242

4343
packages=['pytest_localserver'],
44-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
44+
python_requires='>=3.5',
4545
install_requires=[
4646
'werkzeug>=0.10'
4747
],
@@ -64,11 +64,8 @@ def run(self):
6464
'Development Status :: 4 - Beta',
6565
'Intended Audience :: Developers',
6666
'License :: OSI Approved :: MIT License',
67-
'Programming Language :: Python :: 2',
68-
'Programming Language :: Python :: 2.7',
6967
'Programming Language :: Python :: 3',
70-
'Programming Language :: Python :: 3.3',
71-
'Programming Language :: Python :: 3.4',
68+
'Programming Language :: Python :: 3 :: Only',
7269
'Programming Language :: Python :: 3.5',
7370
'Programming Language :: Python :: 3.6',
7471
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)