Skip to content

Commit

Permalink
Merge pull request #351 from Djailla/py27
Browse files Browse the repository at this point in the history
[compat] Drop support of py27
  • Loading branch information
boxed committed Jul 17, 2020
2 parents 5acee36 + 2bea88f commit 9b730f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,8 +1,6 @@
language: python
cache: pip
python:
- 2.7
- pypy
- 3.5
- 3.6
- 3.7
Expand Down
1 change: 1 addition & 0 deletions AUTHORS.rst
Expand Up @@ -15,3 +15,4 @@ Patches and Suggestions
- `Alex Ehlke <https://github.com/aehlke>`_
- `James Lu <github.com/CrazyPython>`_
- `Dan Elkis <github.com/rinslow>`_
- `Bastien Vallet <github.com/djailla>`_
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -3,4 +3,4 @@ pytest-coverage
coveralls
mock
pytest>=4.6
maya; python_version == '2.7' or python_version >= '3.6'
maya; python_version >= '3.6'
15 changes: 3 additions & 12 deletions setup.py
Expand Up @@ -2,15 +2,8 @@

from setuptools import setup

requires = [
'six',
'python-dateutil>1.0,!=2.0; python_version<"3"',
'python-dateutil>=2.7; python_version>="3"',
]
tests_require = [
'mock;python_version<"3.4"',
'nose'
]
requires = ['python-dateutil>=2.7']
tests_require = ['nose']

with open('README.rst') as f:
readme = f.read()
Expand All @@ -28,11 +21,9 @@
tests_require=tests_require,
include_package_data=True,
license='Apache 2.0',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
python_requires='>=3.5',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, pypy, py35, py36, py37, py38, pypy3
envlist = py35, py36, py37, py38, pypy3

[testenv]
commands = make test NOSE_ARGS="{posargs}"
Expand Down

0 comments on commit 9b730f0

Please sign in to comment.