From 908f530b7b27c5ddf14a6b9ce0428238fb7c5d1c Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Wed, 28 Nov 2018 11:00:08 -0500 Subject: [PATCH] Drop PyPy and Python < 3.5 --- .travis.yml | 8 +++----- setup.py | 8 +------- tox.ini | 2 +- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70da083..4a9646b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,9 @@ language: python +dist: xenial python: - - 2.7 - - 3.4 - 3.5 - 3.6 - - 3.7-dev - - pypy + - 3.7 install: - pip install codecov - pip install -r requires/installation.txt @@ -17,7 +15,7 @@ deploy: distributions: sdist bdist_wheel provider: pypi on: - python: 2.7 + python: 3.7 tags: true all_branches: true user: sprockets diff --git a/setup.py b/setup.py index 47fa17a..621216d 100755 --- a/setup.py +++ b/setup.py @@ -43,18 +43,11 @@ setuptools.setup( 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' ], @@ -63,4 +56,5 @@ setuptools.setup( tests_require=tests_require, namespace_packages=['sprockets', 'sprockets.mixins'], test_suite='nose.collector', + python_requires='>=3.5', zip_safe=False) diff --git a/tox.ini b/tox.ini index a8ff895..837cf6e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py34,py35,pypy +envlist = py35,py36,py37 indexserver = default = https://pypi.python.org/simple toxworkdir = build/tox