Removed CPython 2.6 from a list of currently tested versions in README

Added "Python-Requires" metadata to setup.py to prevent package installation on python versions below 2.7
This commit is contained in:
likeon 2019-04-08 13:59:04 +02:00 committed by Aleksandr Sterkov
parent 977da10ab0
commit 17cb926d56
2 changed files with 1 additions and 1 deletions

View file

@ -39,7 +39,6 @@ You can test against multiple versions of Python with
Versions currently tested in both tox and Travis CI are:
* CPython 2.6
* CPython 2.7
* CPython 3.4
* CPython 3.5

View file

@ -7,6 +7,7 @@ except ImportError:
setup(
name='contextlib2',
version=open('VERSION.txt').read().strip(),
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
py_modules=['contextlib2'],
license='PSF License',
description='Backports and enhancements for the contextlib module',