From e80e99738b587d47cb8d48ec98852cbe166c6a17 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Sat, 25 Mar 2017 17:24:17 -0400 Subject: [PATCH] Set Python support to 3.4 and 3.5, see #105 (#115) --- setup.py | 7 ++++--- tox.ini | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 3925709..8ddd4fc 100755 --- a/setup.py +++ b/setup.py @@ -61,8 +61,10 @@ def run(self): def main(): - if sys.version_info[0] < 3: - sys.exit('gitsome currently requires Python 3.4+') + python3 = sys.version_info[0] == 3 + python34_or_35 = python3 and sys.version_info[1] in (4, 5) + if not python34_or_35: + sys.exit('gitsome currently requires Python 3.4 or 3.5') try: if '--name' not in sys.argv: print(logo) @@ -86,7 +88,6 @@ def main(): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], diff --git a/tox.ini b/tox.ini index 1c81e86..fc40c1c 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py34, py35, py36 +envlist = py34, py35 [testenv] passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH