forked from TheKevJames/coveralls-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (44 loc) · 1.65 KB
/
setup.py
File metadata and controls
51 lines (44 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import os
from setuptools import setup
VERSION_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'coveralls', 'version.py')
DESCRIPTION = open('README.rst').read() + '\n\n' + open('CHANGELOG.md').read()
VERSION = None
with open(VERSION_FILE, 'r') as f:
VERSION = f.read().split()[2][1:-1]
setup(
name='coveralls',
version=VERSION,
packages=['coveralls'],
url='http://github.com/coveralls-clients/coveralls-python',
license='MIT',
author='coveralls-clients contributors',
description='Show coverage stats online via coveralls.io',
long_description=DESCRIPTION,
entry_points={
'console_scripts': [
'coveralls = coveralls.cli:main',
],
},
install_requires=['docopt>=0.6.1', 'coverage>=3.6', 'requests>=1.0.0'],
setup_requires=['pytest-runner'],
tests_require=['mock', 'pytest', 'sh>=1.08'],
extras_require={
'yaml': ['PyYAML>=3.10'],
':python_version < "3"': ['urllib3[secure]'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Testing',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)