Skip to content

Commit d3ddee0

Browse files
committed
drop Python 3.4 support
1 parent 0658a7b commit d3ddee0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ python:
44
- "3.7-dev"
55
- 3.6
66
- 3.5
7-
- 3.4
87
- 2.7
98
sudo: false
109
install:

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
import sys
1717

1818
v = sys.version_info
19-
if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,4)):
20-
error = "ERROR: %s requires Python version 2.7 or 3.4 or above." % name
19+
if v[:2] < (2, 7) or (v[0] >= 3 and v[:2] < (3, 5)):
20+
error = "ERROR: %s requires Python version 2.7 or 3.5 or above." % name
2121
print(error, file=sys.stderr)
2222
sys.exit(1)
2323

@@ -94,10 +94,9 @@ def run(self):
9494
'entrypoints',
9595
'tornado>=4.1',
9696
],
97-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
97+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
9898
extras_require = {
99-
'test': ['ipykernel', 'ipython', 'mock'],
100-
'test:(python_version >= "3.4" or python_version == "2.7")': ['pytest'],
99+
'test': ['ipykernel', 'ipython', 'mock', 'pytest'],
101100
},
102101
cmdclass = {
103102
'bdist_egg': bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,

0 commit comments

Comments
 (0)