This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
forked from rshipp/python-codacycov
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsetup.py
69 lines (50 loc) · 1.6 KB
/
setup.py
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Default version
__version__ = '1.3.0'
# Get the correct version from file
try:
import version
__version__ = version.__version__
except ImportError:
pass
setup(
name='codacy-coverage',
version=__version__,
description='Codacy coverage reporter for Python',
long_description=long_description,
url='https://github.com/codacy/python-codacy-coverage',
author='Codacy',
author_email='[email protected]',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
keywords='development coverage',
packages=find_packages('src'),
package_dir={'': 'src'}, include_package_data=True,
install_requires=['requests>=2.9.1'],
extras_require={
'dev': ['check-manifest'],
'test': ['nosetests', 'coverage'],
},
entry_points={
'console_scripts': [
'python-codacy-coverage=codacy:main',
],
},
test_suite='tests'
)