This repository has been archived by the owner on Apr 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from hugovk/add-3.7
Add support for Python 3.7
- Loading branch information
Showing
8 changed files
with
25 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup | ||
import sys | ||
|
||
version = '2.0.15' | ||
classifiers = ["Development Status :: 5 - Production/Stable", | ||
"Environment :: Plugins", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Topic :: Software Development :: Testing"] | ||
|
||
if sys.version_info >= (2, 7): | ||
install_requires = ["requests>=2.7.9", "coverage"] | ||
else: | ||
install_requires = ["requests>=2.7.9", "coverage", "argparse"] | ||
|
||
setup(name='codecov', | ||
version=version, | ||
description="Hosted coverage reports for Github, Bitbucket and Gitlab", | ||
description="Hosted coverage reports for GitHub, Bitbucket and Gitlab", | ||
long_description=None, | ||
classifiers=classifiers, | ||
keywords='coverage codecov code python java scala php', | ||
author='@codecov', | ||
author_email='[email protected]', | ||
url='http://github.com/codecov/codecov-python', | ||
url='https://github.com/codecov/codecov-python', | ||
license='http://www.apache.org/licenses/LICENSE-2.0', | ||
packages=['codecov'], | ||
include_package_data=True, | ||
zip_safe=True, | ||
install_requires=install_requires, | ||
tests_require=["unittest2"], | ||
entry_points={'console_scripts': ['codecov=codecov:main']}) | ||
install_requires=["requests>=2.7.9", "coverage"], | ||
entry_points={'console_scripts': ['codecov=codecov:main']}, | ||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ pytest>=3.6.0 | |
pytest-cov | ||
funcsigs | ||
requests | ||
unittest2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[tox] | ||
envlist = py26, py27, py34 | ||
envlist = py27, py34, py35, py36, py37 | ||
|
||
[testenv] | ||
deps = | ||
-r{toxinidir}/tests/requirements.txt | ||
commands = | ||
py.test tests/test.py | ||
pytest tests/test.py |