From 33856830c946182a623079853a8590575c5d23d2 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 28 Jul 2017 14:47:18 +0200 Subject: [PATCH] Tell installers that Mopidy requires Python 2.7 This is supported by pip >= 9.0.1, and will help Python 2 users stay at the last Python 2-compatible Mopidy release after we make the first Python 3-only release. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index d41c943d..905781c5 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ setup( packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, + python_requires='>= 2.7, < 3', install_requires=[ 'Pykka >= 1.1', 'requests >= 2.0',