forked from ctripcorp/flybirds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (52 loc) · 1.52 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
tool setup
"""
from setuptools import setup, find_packages
import sys
def parse_requirements(filename):
"""
get requirements list from config file
"""
line_iter = (line.strip() for line in open(filename))
reqs = [line for line in line_iter if line and not line.startswith("#")]
if sys.platform == "win32":
reqs.remove("paddleocr>=2.5.0")
reqs.remove("paddlepaddle>=2.3.0")
reqs.remove("protobuf==3.20.1")
return reqs
req = parse_requirements("requirements.txt")
setup(
name="flybirds",
version="0.4.5",
author="trip_flight",
author_email="flybirds_support@trip.com",
description="BDD-driven natural language automated testing framework",
long_description="BDD-driven natural language automated testing "
"framework, present by Trip Flight",
keywords=[
"automation",
"automated-test",
"bdd",
"framework",
"android",
"ios",
"behave",
],
license="MIT license",
python_requires=">=3.7, <3.10",
packages=find_packages(exclude=["dist", "build", "tests", "docs"]),
include_package_data=True,
install_requires=req,
entry_points="""
[console_scripts]
flybirds = flybirds.launcher:main
""",
url="https://github.com/ctripcorp/flybirds",
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)