forked from hahn-th/homematicip-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_testing.py
46 lines (42 loc) · 1.5 KB
/
setup_testing.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
from distutils.core import setup
from setuptools import find_packages
from setuptools.command.install import install
import os
import sys
import io
import versioneer
import configparser
here = os.path.abspath(os.path.dirname(__file__))
config = configparser.ConfigParser()
config.read(os.path.join(here, "setup.cfg"))
config["versioneer"]["style"] = "pep440-pre"
with open(os.path.join(here, "setup.cfg"), 'w') as configfile:
config.write(configfile)
setup(
name="homematicip-testing",
packages=find_packages(exclude="tests"),
long_description="This API will be build with the latest commit on the master branch automatically. Don't use it for productive environments.",
description="An API for the homematicip cloud. NOT FOR PRODUCTION",
author="Heimo Stieg",
author_email="[email protected]",
url="https://github.com/coreGreenberet/homematicip-rest-api",
download_url="https://github.com/coreGreenberet/homematicip-rest-api/tarball/"
+ versioneer.get_version(),
keywords=["homematicip"], # arbitrary keywords
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3 :: Only",
],
install_requires=[
"requests>=2.4.3",
"websocket-client>=0.54.0",
"websockets",
"aiohttp>3",
"async_timeout",
"aenum",
],
scripts=["hmip_cli.py", "hmip_generate_auth_token.py"],
python_requires=">=3",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)