forked from httprunner/httprunner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (58 loc) · 1.78 KB
/
setup.py
File metadata and controls
60 lines (58 loc) · 1.78 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
52
53
54
55
56
57
58
59
60
#encoding: utf-8
import os
import re
from setuptools import setup, find_packages
# parse version from ate/__init__.py
with open(os.path.join(os.path.dirname(__file__), 'ate', '__init__.py')) as f:
version = re.compile(r"__version__\s+=\s+'(.*)'", re.I).match(f.read()).group(1)
setup(
name='ApiTestEngine',
version=version,
description='API test engine.',
long_description="Best practice of API test, including automation test and performance test.",
author='Leo Lee',
author_email='mail@debugtalk.com',
url='https://github.com/debugtalk/ApiTestEngine',
license='MIT',
packages=find_packages(exclude=['test.*', 'test']),
package_data={
'ate': ['locustfile_template'],
},
keywords='api test',
install_requires=[
"requests[security]",
"flask",
"PyYAML",
"coveralls",
"coverage",
"PyUnitReport"
],
extras_require={
'mail': [
"jenkins-mail-py"
],
'locust': [
"locustio"
]
},
dependency_links=[
"git+https://github.com/debugtalk/PyUnitReport.git#egg=PyUnitReport-0",
"git+https://github.com/debugtalk/jenkins-mail-py.git#egg=jenkins-mail-py-0",
"git+https://github.com/locustio/locust.git#egg=locust-0"
],
classifiers=[
"Development Status :: 3 - Alpha",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7-dev'
],
entry_points={
'console_scripts': [
'ate=ate.cli:main_ate',
'locusts=ate.cli:main_locust'
]
}
)