|
11 | 11 | with open('CHANGELOG.md') as changelog_file: |
12 | 12 | changelog = changelog_file.read() |
13 | 13 |
|
14 | | -requirements = [] |
15 | | - |
16 | | -setup_requirements = ['pytest-runner', ] |
17 | | - |
18 | | -test_requirements = ['pytest', ] |
| 14 | +requirements = [ |
| 15 | + "future==0.17.1", |
| 16 | + "python-dateutil==2.7.5", |
| 17 | + "requests==2.20.0" |
| 18 | +] |
| 19 | + |
| 20 | +extras_require = { |
| 21 | + 'docs': [ |
| 22 | + "Sphinx==1.8.1", |
| 23 | + "sphinx-rtd-theme==0.4.2" |
| 24 | + ] |
| 25 | +} |
19 | 26 |
|
20 | 27 | version = {} |
21 | 28 | with open("hcloud/version.py") as fp: |
|
36 | 43 | 'Programming Language :: Python :: 3.6', |
37 | 44 | 'Programming Language :: Python :: 3.7', |
38 | 45 | ], |
| 46 | + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.8', |
39 | 47 | description="Official Hetzner Cloud python library", |
40 | 48 | install_requires=requirements, |
| 49 | + extras_require=extras_require, |
41 | 50 | license="MIT license", |
42 | 51 | long_description=readme + '\n\n' + changelog, |
43 | 52 | include_package_data=True, |
44 | | - keywords='hcloud', |
| 53 | + keywords='hcloud hetzner cloud', |
45 | 54 | name='hcloud', |
46 | | - packages=find_packages(exclude=["examples", "tests"]), |
47 | | - setup_requires=setup_requirements, |
| 55 | + packages=find_packages(exclude=["examples", "tests", "docs"]), |
48 | 56 | test_suite='tests', |
49 | | - tests_require=test_requirements, |
50 | 57 | url='https://github.com/hetznercloud/hcloud-python', |
51 | 58 | version=version['VERSION'], |
52 | 59 | zip_safe=False, |
|
0 commit comments