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
|
from __future__ import annotations
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as readme_file:
readme = readme_file.read()
setup(
name="hcloud",
version="2.3.0",
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="support-cloud@hetzner.com",
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",
"Programming Language :: Python :: 3.13",
],
python_requires=">=3.8",
install_requires=[
"python-dateutil>=2.7.5",
"requests>=2.20",
],
extras_require={
"docs": [
"sphinx>=8,<8.1",
"sphinx-rtd-theme>=3,<3.1",
"myst-parser>=4,<4.1",
"watchdog>=5,<5.1",
],
"test": [
"coverage>=7.6,<7.7",
"pylint>=3,<3.4",
"pytest>=8,<8.4",
"pytest-cov>=5,<5.1",
"mypy>=1.11,<1.12",
"types-python-dateutil",
"types-requests",
],
},
include_package_data=True,
packages=find_packages(exclude=["examples", "tests*", "docs"]),
zip_safe=False,
)
|