Skip to content

Commit e7e44a9

Browse files
Remove Python 2.7 support
1 parent 2ffae0b commit e7e44a9

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: python
33
services:
44
- docker
55
python:
6-
- "2.7"
76
- "3.4"
87
- "3.5"
98
- "3.6"

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88

99
import sys
1010

11-
tests_require = []
12-
13-
# add unittest2 to tests_require for python < 2.7
14-
if sys.version_info < (2, 7):
15-
tests_require.append("unittest2")
16-
1711

1812
class TestCommand(Command):
1913
user_options = []
@@ -34,7 +28,7 @@ def run(self):
3428
unittest.main(tests, argv=sys.argv[:1])
3529

3630

37-
version = "0.31"
31+
version = "0.40"
3832

3933
setup(
4034
name="mysql-replication",
@@ -49,6 +43,5 @@ def run(self):
4943
"pymysqlreplication.constants",
5044
"pymysqlreplication.tests"],
5145
cmdclass={"test": TestCommand},
52-
extras_require={'test': tests_require},
5346
install_requires=['pymysql>=0.10'],
5447
)

0 commit comments

Comments
 (0)