-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (71 loc) · 2.29 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
#!/usr/bin/env python3
"""Python packaging configuration."""
import os
from setuptools import find_packages, setup
def read_readme():
"""Read and return text of README.md."""
pwd = os.path.abspath(os.path.dirname(__name__))
readme_file = os.path.join(pwd, "README.md")
with open(readme_file, "r", encoding="utf-8") as readme:
readme_txt = readme.read()
return readme_txt
INSTALL_REQUIRES = [
"azure-cli-core >= 2.21.0",
"azure-identity",
"azure-mgmt-compute >= 17",
"azure-mgmt-network >= 16",
"azure-mgmt-resource >= 15",
"boto3 >= 1.14.20",
"botocore >= 1.17.20",
"google-api-python-client >= 1.7.7",
"ibm-platform-services",
"knack >= 0.7.1",
"oci >= 2.17.0",
"paramiko >= 2.9.2",
"protobuf < 3.20.0",
"pyparsing >= 2, < 3.0.0",
"python-openstackclient >= 5.2.1",
"pyyaml >= 5.1",
"requests >= 2.22",
"toml == 0.10",
# Simplestreams is not found on PyPi so pull from repo directly
"python-simplestreams @ git+https://git.launchpad.net/simplestreams@21c5bba2a5413c51e6b9131fc450e96f6b46090d", # noqa
]
EXTRAS_REQUIRE = {
":python_version == '3.6'": [
"ibm-cloud-sdk-core == 3.14.0", # last py36 compatible version
"ibm-vpc == 0.10",
],
":python_version >= '3.7'": [
"ibm-cloud-sdk-core >= 3.14.0",
"ibm-vpc >= 0.10",
],
}
setup(
name="pycloudlib",
version="18.8",
description=(
"Python library to launch, interact, and snapshot cloud instances"
),
long_description=read_readme(),
long_description_content_type="text/markdown",
author="pycloudlib-devs",
author_email="pycloudlib-devs@lists.launchpad.net",
url="https://launchpad.net/pycloudlib",
license="GNU General Public License v3 (GPLv3)",
packages=find_packages(),
python_requires=">=3.6",
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
zip_safe=True,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
)