forked from aconrad/pycobertura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.69 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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
version = '0.10.4'
try:
import pypandoc
README = pypandoc.convert('README.md', 'rst')
CHANGES = pypandoc.convert('CHANGES.md', 'rst')
except:
README = read('README.md')
CHANGES = read('CHANGES.md')
setup(
name="pycobertura",
version=version,
author="Alex Conrad",
author_email="[email protected]",
maintainer="Alex Conrad",
maintainer_email="[email protected]",
description="A Cobertura coverage parser that can diff reports and "
"show coverage progress.",
license="MIT License",
keywords="cobertura coverage diff report parser parse xml",
url="https://github.com/aconrad/pycobertura",
zip_safe=False,
include_package_data=True,
packages=find_packages(exclude=['tests']),
long_description='%s\n\n%s' % (README, CHANGES),
setup_requires=['setuptools_git'],
install_requires=['click>=4.0', 'colorama', 'jinja2', 'lxml', 'tabulate'],
classifiers=[
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
entry_points={
'console_scripts': [
'pycobertura=pycobertura.cli:pycobertura'
],
},
)