-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (41 loc) · 1.4 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
install_requires = []
with open("requirements.txt", "r", encoding="utf-8") as f:
install_requires = list(i.rstrip() for i in f.readlines())
extras_require = {
'highlight': ['pygments'],
}
tests_require = []
with open("requirements.dev.txt", "r", encoding="utf-8") as f:
tests_require = list(i.rstrip() for i in f.readlines())
version = {}
with open("cloudscale/version.py") as fp:
exec(fp.read(), version)
setup(
name="cloudscale-sdk",
version=version['__version__'],
author="René Moser",
author_email="[email protected]",
license="MIT",
description="A library and SDK for cloudscale.ch",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cloudscale-ch/cloudscale-python-sdk",
packages=find_packages(exclude=["test.*", "tests"]),
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
],
install_requires=install_requires,
extras_require=extras_require,
tests_require=tests_require,
python_requires='>=3.6',
)