From 11b01d756a69041db797a806dd1db8157de34e17 Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Thu, 25 Jan 2018 17:14:52 +0100 Subject: [PATCH] Update supported python versions And drop setup_requires because it tends to trigger black magic --- .travis.yml | 15 ++++++++++----- README.rst | 2 +- setup.py | 6 +++--- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 767d174..91a005c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,13 @@ language: python -python: - - "2.7" - - "3.3" - - "3.4" - - "3.5" +matrix: + include: + - python: "2.7" + - python: "3.3" + - python: "3.4" + - python: "3.5" + - python: "3.6" + - python: "nightly" + allow_failures: + - python: "nightly" install: pip install -r requirements_dev.txt script: nosetests diff --git a/README.rst b/README.rst index 279835c..cf0c111 100644 --- a/README.rst +++ b/README.rst @@ -40,7 +40,7 @@ respecting the standard procedures in each system: * Use standard configuration space in ``/etc`` on traditional production servers * Handle environment-based configuration for cloud-based platforms -``getconf`` v1.6 onwards supports 2.7, 3.3, 3.4, 3.5 and is distributed under the two-clause BSD license. +``getconf`` v1.6 onwards supports 2.7, 3.3, 3.4, 3.5, 3.6 and is distributed under the two-clause BSD license. The latest version of ``getconf`` to support Python 2.6 is v1.5.1. Links diff --git a/setup.py b/setup.py index b805779..ee3e294 100644 --- a/setup.py +++ b/setup.py @@ -52,9 +52,7 @@ def get_long_description(filename): packages=find_packages(exclude=['tests']), platforms=["OS Independent"], install_requires=[], - setup_requires=[ - 'setuptools>=0.8', - ], + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -65,6 +63,8 @@ def get_long_description(filename): "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: System :: Installation/Setup", "Topic :: System :: Systems Administration",