From a9bb51a0cf428e4ac1441eff629fc2bc25a85ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Fri, 1 Mar 2019 11:06:45 +0100 Subject: [PATCH] Specify supported version(s) of Python in setup.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index d81ed30..bbcfa0b 100644 --- a/setup.py +++ b/setup.py @@ -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={