Skip to content

Commit

Permalink
Remove Python 2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed May 7, 2023
1 parent 2ffae0b commit e7e44a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ language: python
services:
- docker
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
Expand Down
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@

import sys

tests_require = []

# add unittest2 to tests_require for python < 2.7
if sys.version_info < (2, 7):
tests_require.append("unittest2")


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


version = "0.31"
version = "0.40"

setup(
name="mysql-replication",
Expand All @@ -49,6 +43,5 @@ def run(self):
"pymysqlreplication.constants",
"pymysqlreplication.tests"],
cmdclass={"test": TestCommand},
extras_require={'test': tests_require},
install_requires=['pymysql>=0.10'],
)

0 comments on commit e7e44a9

Please sign in to comment.