From 2fce6e9c95a88bc1af67fa0fc8d39feeda36df77 Mon Sep 17 00:00:00 2001 From: Robin Wilson Date: Tue, 21 Apr 2020 20:35:33 +0100 Subject: [PATCH] Switch to supporting only Python 3+ Remove Python 2.7 from Travis Add python_reqs to setup.py Remove Python 2 trove classifier --- .travis.yml | 1 - setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 818187c..103b59e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: # We don't actually use the Travis Python, but this keeps it organized. - - "2.7" - "3.5" - "3.6" - "3.7" diff --git a/setup.py b/setup.py index d6b2de6..1e8b15e 100755 --- a/setup.py +++ b/setup.py @@ -48,6 +48,7 @@ def read_file(filepath, root=PROJECT_ROOT): name = "Py6S", packages = ['Py6S', 'Py6S.Params', 'Py6S.SixSHelpers'], install_requires = REQS, + python_requires = '>=3', version = "1.7.2", author = "Robin Wilson", author_email = "robin@rtwilson.com", @@ -65,6 +66,5 @@ def read_file(filepath, root=PROJECT_ROOT): "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 2" ], )