forked from hetznercloud/hcloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (42 loc) · 1.55 KB
/
setup.py
File metadata and controls
50 lines (42 loc) · 1.55 KB
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
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.rst") as changelog_file:
changelog = changelog_file.read()
requirements = ["python-dateutil>=2.7.5", "requests>=2.20"]
extras_require = {"docs": ["Sphinx==1.8.1", "sphinx-rtd-theme==0.4.2"]}
version = {}
with open("hcloud/__version__.py") as fp:
exec(fp.read(), version)
setup(
author="Hetzner Cloud GmbH",
author_email="support-cloud@hetzner.com",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">3.5",
description="Official Hetzner Cloud python library",
install_requires=requirements,
extras_require=extras_require,
license="MIT license",
long_description=readme + "\n\n" + changelog,
include_package_data=True,
keywords="hcloud hetzner cloud",
name="hcloud",
packages=find_packages(exclude=["examples", "tests*", "docs"]),
test_suite="tests",
url="https://github.com/hetznercloud/hcloud-python",
version=version["VERSION"],
zip_safe=False,
)