forked from hetznercloud/hcloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (62 loc) · 2.17 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
from __future__ import annotations
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
version = {}
with open("hcloud/__version__.py", encoding="utf-8") as fp:
exec(fp.read(), version)
setup(
name="hcloud",
version=version["VERSION"],
keywords="hcloud hetzner cloud",
description="Official Hetzner Cloud python library",
long_description=readme,
long_description_content_type="text/markdown",
author="Hetzner Cloud GmbH",
author_email="[email protected]",
url="https://github.com/hetznercloud/hcloud-python",
project_urls={
"Bug Tracker": "https://github.com/hetznercloud/hcloud-python/issues",
"Documentation": "https://hcloud-python.readthedocs.io/en/stable/",
"Changelog": "https://github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md",
"Source Code": "https://github.com/hetznercloud/hcloud-python",
},
license="MIT license",
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
python_requires=">=3.8",
install_requires=[
"python-dateutil>=2.7.5",
"requests>=2.20",
],
extras_require={
"docs": [
"sphinx>=7.3.4,<7.4",
"sphinx-rtd-theme>=2,<2.1",
"myst-parser>=2.0.0,<2.1",
"watchdog>=4,<4.1",
],
"test": [
"coverage>=7.4,<7.5",
"pylint>=3,<3.2",
"pytest>=8,<8.2",
"pytest-cov>=5,<5.1",
"mypy>=1.9,<1.10",
"types-python-dateutil",
"types-requests",
],
},
include_package_data=True,
packages=find_packages(exclude=["examples", "tests*", "docs"]),
zip_safe=False,
)