Skip to content

Commit a9eb6f7

Browse files
authored
Add python_requires to help pip
When old Python versions are dropped, this will help pip install the right version for people still running those old Python versions. For more info on how this works: * https://hackernoon.com/phasing-out-python-runtimes-gracefully-956f112f33c4 * pypa/packaging.python.org#450
1 parent f50f1ce commit a9eb6f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
author_email='[email protected]',
2222
packages=['twarc',],
2323
description='Archive tweets from the command line',
24+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
2425
install_requires=dependencies,
2526
setup_requires=['pytest-runner'],
2627
tests_require=['pytest'],

0 commit comments

Comments
 (0)