-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (25 loc) · 933 Bytes
/
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
import subprocess
import re
__version__ = subprocess.check_output(["git", "describe", "--tags"]).rstrip()
__version__ = __version__.decode('UTF-8')
__version__ = re.search("(\d+\.\d+\.\d+)(?:(\-\d+))?", __version__).group(0)
setuptools.setup(
name="cloudassist",
version=__version__,
author="Maximilian Bauer",
author_email="[email protected]",
description="Cloud assistant for cli",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/bleeez/cloud-assistant",
install_requires=['configparser', 'caldav'],
packages=setuptools.find_packages(),
entry_points={"console_scripts": ["cloudassist=cloudassist.__main__:main"]},
classifiers=(
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
),
)