-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
89 lines (74 loc) · 1.94 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
"""
cloudaux
=====
Cloud Auxiliary is a python wrapper and orchestration module for interacting with cloud providers
:copyright: (c) 2016 by Netflix, see AUTHORS for more
:license: Apache, see LICENSE for more details.
"""
import sys
import os.path
from setuptools import setup, find_packages
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
# When executing the setup.py, we need to be able to import ourselves. This
# means that we need to add the src/ directory to the sys.path
sys.path.insert(0, ROOT)
about = {}
with open(os.path.join(ROOT, "cloudaux", "__about__.py")) as f:
exec(f.read(), about)
classifiers = [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
install_requires = [
'boto3',
'botocore',
'boto>=2.41.0',
'joblib>=0.9.4',
'inflection',
'flagpole>=1.0.1',
'defusedxml',
'six>=1.11.0',
]
gcp_require = [
'google-api-python-client>=1.6.1',
'google-cloud-storage==0.22.0',
'oauth2client>=4.1.2'
]
openstack_require = [
'openstacksdk>=0.13.0'
]
tests_require = [
'pytest',
'pytest-cov',
'moto',
'mock',
'coveralls',
'tox',
'flake8'
]
docs_require = []
dev_require = []
setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__uri__"],
description=about["__summary__"],
long_description=open(os.path.join(ROOT, 'README.md')).read(),
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
classifiers=classifiers,
extras_require={
'gcp': gcp_require,
'openstack': openstack_require,
'tests': tests_require,
'docs': docs_require,
'dev': dev_require
}
)