-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (53 loc) · 1.6 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 python
# -*- coding:utf-8 -*-
import re
import setuptools
version = ""
with open('ariestools/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="ariestools",
version=version,
author="jasonzhang",
author_email="[email protected]",
description="Common Tools for python lib",
long_description=long_description,
long_description_content_type="text/markdown",
url="",
install_requires=[
'requests==2.31.0',
'urllib3==2.1.0',
'PyYAML==6.0.1',
'pendulum==2.1.2',
'namedtupled==0.3.3',
'hues==0.2.2',
'tenacity==8.2.3'
],
packages=setuptools.find_packages(exclude=("test")),
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
],
exclude_package_data=
{'':
[
"ariestools/graphql_query_util.py",
"ariestools/json_path_util.py",
"ariestools/json_util.py",
"ariestools/path_util.py",
"ariestools/yaml_util.py",
"ariestools/object.py",
"ariestools/arg_util.py",
"ariestools/time_util.py",
"ariestools/random_util.py",
"ariestools/file_util.py",
"ariestools/color_output.py",
"ariestools/beauty_print.py"
]
},
)