forked from SeldomQA/XTestRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (45 loc) · 1.49 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (45 loc) · 1.49 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
# coding=utf-8
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('TestRunner/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='TestRunner',
version=version,
url='https://github.com/seldomQA/HTMLTestRunner/',
license='BSD',
author='bugmaster',
author_email='fnngj@126.com',
description='Unittest-based HTML test report.',
long_description="Unittest-based HTML test report.",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'jinja2>=2.11.3',
],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
"Topic :: Software Development :: Testing",
],
py_modules=['whyteboard'],
scripts=[
'TestRunner/html/charts_script.html',
'TestRunner/html/heading.html',
'TestRunner/html/mail.html',
'TestRunner/html/report.html',
'TestRunner/html/stylesheet.html',
'TestRunner/html/template.html',
],
)