Specify supported version(s) of Python in setup.py

In preparation for dropping Python 2.7 support[1], this specifies
versions that *are* compatible with Python 2.7, so anyone installing via
pip (if we end up publishing to PyPI) will get the proper version.

See https://packaging.python.org/guides/dropping-older-python-versions/

[1] https://github.com/whipper-team/whipper/issues/78

Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
This commit is contained in:
Frederik “Freso” S. Olesen
2019-03-01 11:06:45 +01:00
parent e26bb24998
commit a9bb51a0cf

View File

@@ -8,6 +8,7 @@ setup(
maintainer=['The Whipper Team'],
url='https://github.com/whipper-team/whipper',
license='GPL3',
python_requires='>=2.7,<3',
packages=find_packages(),
setup_requires=['setuptools_scm'],
entry_points={