This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
/
setup.py
68 lines (50 loc) · 1.8 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
from setuptools import setup, find_packages
from os import path
from sys import version_info
NAME = 'unishark'
VERSION = '0.2.1'
long_description = (
open(path.join('docs', 'README.rst'), 'r').read() + '\n' +
open(path.join('docs', 'CHANGELOG.rst'), 'r').read()
)
py3_requires = ['Jinja2>=2.7.2', 'MarkupSafe>=0.23']
py2_requires = ['Jinja2>=2.7.2', 'MarkupSafe>=0.23', 'futures>=2.2.0']
requires = None
if version_info[0] >= 3 and version_info[1] >= 2:
requires = py3_requires
else:
requires = py2_requires
setup(
name=NAME,
version=VERSION,
description='A lightweight unittest extension providing test suites config, concurrent tests, Html/XUnit reports, '
'and data driven utility.',
long_description=long_description,
url='https://github.com/twitter/unishark',
author='Ying Ni',
author_email='niying7@gmail.com',
license='Apache License, Version 2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
keywords='unittest extension test reports config utility',
# See https://packaging.python.org/en/latest/requirements.html
install_requires=requires,
extras_require={
'test': ['coveralls'],
},
packages=find_packages(include=[NAME]),
include_package_data=True,
package_data={
NAME: ['templates/*.html', 'templates/*.xml'],
},
)