-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
58 lines (54 loc) · 1.5 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#############################################
# File Name: setup.py
# Author: IMJIE
# Email: imjie@outlook.com
# Created Time: 2020-1-29
#############################################
import sys
import setuptools
with open("README.md", "r", encoding='UTF-8') as fh:
long_description = fh.read()
info = sys.version_info
if info.major == 3 and info.minor <= 7:
requires = [
'PyYAML>=5.1.2',
'wd>=1.0.1',
'selenium',
'colorama',
'opencv-contrib-python==3.4.2.16'
]
else:
requires = [
'PyYAML>=5.1.2',
'wd>=1.0.1',
'selenium',
'colorama',
'opencv-contrib-python'
]
setuptools.setup(
name="fasttest",
version="1.0.1",
author="IMJIE",
author_email="imjie@outlook.com",
keywords=('macaca', 'appium', 'selenium', 'APP自动化', 'WEB自动化', '关键字驱动'),
description="关键字驱动自动化框架",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Jodeee/fasttest",
packages=setuptools.find_packages(),
include_package_data=True,
package_data={'fasttest/result':['resource/*']},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires='>=3.6',
install_requires=requires,
entry_points={
'console_scripts':[
'fasttest = fasttest.fasttest_runner:main'
]
}
)