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
60 lines (52 loc) · 1.68 KB
/
setup.py
File metadata and controls
60 lines (52 loc) · 1.68 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
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""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 = [
"future==0.17.1",
"python-dateutil==2.7.5",
"requests==2.20.0"
]
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 :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.8',
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,
)