From 0ae895d503e87e2079bce2471459a318edb474e2 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 24 Sep 2017 14:40:44 +0200 Subject: [PATCH] Drop support for end-of-lifed Python versions Python 2.6 and 3.2 are already EOL, and 3.3 will be EOL 2017-09-29 --- .travis.yml | 9 +-------- setup.py | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d0649ea2..73b4611c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,7 @@ env: - COVERAGE="" python: - - 2.6 - 2.7 - - 3.2 - - 3.3 - 3.4 - 3.5 - 3.6 @@ -62,11 +59,7 @@ install: chmod +x $HOME/miniconda2/bin/conda; if $TRAVIS_PYTHON -c 'import virtualenv'; then echo "ERROR: virtualenv package is installed"; exit 1; fi; else - if [[ "$TRAVIS_PYTHON_VERSION" == "3.2" ]]; then - $TRAVIS_PIP install 'virtualenv<14'; - else - $TRAVIS_PIP install virtualenv; - fi + $TRAVIS_PIP install virtualenv; fi $TRAVIS_PIP install selenium six pytest feedparser python-hglib; if [[ $COVERAGE != '' ]]; then $TRAVIS_PIP install pytest-cov coveralls; fi; diff --git a/setup.py b/setup.py index 5487ca87f..d6471eba7 100755 --- a/setup.py +++ b/setup.py @@ -204,6 +204,8 @@ def run_setup(build_binary=False): ] }, + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + zip_safe=False, # py.test testing