-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
53 lines (46 loc) · 1.55 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
#!/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_cli/version.py") as fp:
exec(fp.read(), version)
setup(
name="cloudscale-cli",
version=version["__version__"],
author="René Moser",
author_email="[email protected]",
license="MIT",
description="Command line interface client for cloudscale.ch",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cloudscale-ch/cloudscale-cli",
packages=find_packages(exclude=["test.*", "tests"]),
classifiers=[
"Intended Audience :: System Administrators",
"Development Status :: 5 - Production/Stable",
"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",
entry_points={
"console_scripts": [
"cloudscale = cloudscale_cli.cli:cli",
],
},
)