From de4dab83e8d1da2a86b5acf393c16fd119da22a7 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Tue, 29 Nov 2016 21:56:19 +1300 Subject: [PATCH] MAINT: add PyPI classifier for Python 3.6, remove Python 2.6 / 3.3 The rest of the world (including numpy) has now dropped 2.6 and 3.3, so let's just be consistent. --- setup.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index e27d9aa5..bb48af5d 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ import setuptools from distutils.core import setup -if sys.version_info[:2] < (2, 6) or (3, 0) <= sys.version_info[0:2] < (3, 3): - raise RuntimeError("Python version 2.6, 2.7 or >= 3.3 required.") +if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[0:2] < (3, 4): + raise RuntimeError("Python version 2.7 or >= 3.4 required.") with open('numpydoc/__init__.py') as fid: for line in fid: @@ -27,12 +27,11 @@ "Topic :: Documentation", "Programming Language :: Python", "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5"], + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6"], keywords="sphinx numpy", author="Pauli Virtanen and others", author_email="pav@iki.fi",