|
1 | 1 | #!/usr/bin/env python |
2 | 2 | from setuptools import setup |
3 | | -import sys |
4 | 3 |
|
5 | 4 | version = '2.0.15' |
6 | 5 | classifiers = ["Development Status :: 5 - Production/Stable", |
7 | 6 | "Environment :: Plugins", |
8 | 7 | "Intended Audience :: Developers", |
9 | 8 | "Programming Language :: Python", |
| 9 | + "Programming Language :: Python :: 2", |
10 | 10 | "Programming Language :: Python :: 2.7", |
11 | 11 | "Programming Language :: Python :: 3", |
12 | 12 | "Programming Language :: Python :: 3.4", |
| 13 | + "Programming Language :: Python :: 3.5", |
| 14 | + "Programming Language :: Python :: 3.6", |
| 15 | + "Programming Language :: Python :: 3.7", |
13 | 16 | "Programming Language :: Python :: Implementation :: PyPy", |
14 | 17 | "License :: OSI Approved :: Apache Software License", |
15 | 18 | "Topic :: Software Development :: Testing"] |
16 | 19 |
|
17 | | -if sys.version_info >= (2, 7): |
18 | | - install_requires = ["requests>=2.7.9", "coverage"] |
19 | | -else: |
20 | | - install_requires = ["requests>=2.7.9", "coverage", "argparse"] |
21 | | - |
22 | 20 | setup(name='codecov', |
23 | 21 | version=version, |
24 | | - description="Hosted coverage reports for Github, Bitbucket and Gitlab", |
| 22 | + description="Hosted coverage reports for GitHub, Bitbucket and Gitlab", |
25 | 23 | long_description=None, |
26 | 24 | classifiers=classifiers, |
27 | 25 | keywords='coverage codecov code python java scala php', |
28 | 26 | author='@codecov', |
29 | 27 | |
30 | | - url='http://github.com/codecov/codecov-python', |
| 28 | + url='https://github.com/codecov/codecov-python', |
31 | 29 | license='http://www.apache.org/licenses/LICENSE-2.0', |
32 | 30 | packages=['codecov'], |
33 | 31 | include_package_data=True, |
34 | 32 | zip_safe=True, |
35 | | - install_requires=install_requires, |
36 | | - tests_require=["unittest2"], |
37 | | - entry_points={'console_scripts': ['codecov=codecov:main']}) |
| 33 | + install_requires=["requests>=2.7.9", "coverage"], |
| 34 | + entry_points={'console_scripts': ['codecov=codecov:main']}, |
| 35 | + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', |
| 36 | + ) |
0 commit comments