|
6 | 6 | from stream import __version__, __maintainer__, __email__, __license__ |
7 | 7 | import sys |
8 | 8 |
|
9 | | -unit = "unittest2py3k" if sys.version_info > (3, 0, 0) else "unittest2" |
10 | | -tests_require = [unit, "pytest==3.2.5", "unittest2", "pytest-cov", "python-dateutil"] |
| 9 | +tests_require = ["pytest==3.2.5", "unittest2", "pytest-cov", "python-dateutil"] |
11 | 10 |
|
12 | 11 | long_description = open("README.md", "r").read() |
13 | 12 |
|
14 | | -requests = "requests>=2.3.0,<3" |
15 | | - |
16 | | -if sys.version_info < (2, 7, 9): |
17 | | - requests = "requests[security]>=2.4.1,<3" |
18 | | - |
19 | | -install_requires = ["pycryptodomex>=3.4.7,<4", requests, "six>=1.8.0", "pytz>=2019.3"] |
20 | | - |
21 | | -if sys.version_info < (2, 7, 0): |
22 | | - install_requires.append("pyOpenSSL<18.0.0") |
23 | | - install_requires.append("pyjwt>=1.3.0,<1.6.0") |
24 | | - install_requires.append("pycparser<2.19") |
25 | | -else: |
26 | | - install_requires.append("pyjwt>=1.3.0,<1.8.0") |
| 13 | +install_requires = [ |
| 14 | + "pycryptodomex>=3.4.7,<4", |
| 15 | + "requests>=2.3.0,<3", |
| 16 | + "pyjwt>=1.3.0,<1.8.0", |
| 17 | + "pytz>=2019.3", |
| 18 | +] |
27 | 19 |
|
28 | 20 |
|
29 | 21 | class PyTest(TestCommand): |
@@ -65,7 +57,6 @@ def run_tests(self): |
65 | 57 | "Development Status :: 5 - Production/Stable", |
66 | 58 | "License :: OSI Approved :: BSD License", |
67 | 59 | "Natural Language :: English", |
68 | | - "Programming Language :: Python :: 2.7", |
69 | 60 | "Programming Language :: Python :: 3", |
70 | 61 | "Programming Language :: Python :: 3.4", |
71 | 62 | "Programming Language :: Python :: 3.5", |
|
0 commit comments