From badf2901ea040aa89dbb3c19e53c6b1b692cb489 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 7 Dec 2018 14:16:26 -0700 Subject: MAINT: Prepare master for 1.17.0 development. - Create 1.17.0-notes - Update index.rst for new notes - Update pavement.py - Update setup.py - Remove Python 2.7 and 3.4 from CI testing. - Add `# cython: language_level=3` to `*.pxd`, `*.pyx` files. Note that this removes support for both Python2.7 and Python3.4 in setup.py. --- setup.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index cc20fa61d..b9bbc08fb 100755 --- a/setup.py +++ b/setup.py @@ -27,15 +27,14 @@ import subprocess import textwrap -if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 4): - raise RuntimeError("Python version 2.7 or >= 3.4 required.") +if sys.version_info[:2] < (3, 5): + raise RuntimeError("Python version >= 3.5 required.") -if sys.version_info[0] >= 3: - import builtins -else: - import __builtin__ as builtins +import builtins +python_requires = '>=3.5' + CLASSIFIERS = """\ Development Status :: 5 - Production/Stable Intended Audience :: Science/Research @@ -43,10 +42,7 @@ Intended Audience :: Developers License :: OSI Approved Programming Language :: C Programming Language :: Python -Programming Language :: Python :: 2 -Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 -Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 @@ -60,7 +56,7 @@ Operating System :: MacOS """ MAJOR = 1 -MINOR = 16 +MINOR = 17 MICRO = 0 ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) -- cgit v1.2.1