forked from arska/python-daikinapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (36 loc) · 1.21 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
"""
daikinapi python module manifest
"""
from os.path import abspath, dirname, join
from setuptools import setup
__version__ = "1.0.6"
def read_file(filename):
"""Get the contents of a file"""
here = abspath(dirname(__file__))
with open(join(here, filename), encoding="utf-8") as file:
return file.read()
setup(
name="daikinapi",
version=__version__,
description="Get metrics from Daikin airconditioning unit wifi module",
long_description=read_file("README.md"),
long_description_content_type="text/markdown",
packages=["daikinapi"],
package_dir={"daikinapi": "."},
keywords=["Daikin", "airconditioning", "API"],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
url="https://github.com/arska/python-daikinapi",
author="Aarno Aukia",
author_email="[email protected]",
license="MIT",
python_requires=">=3.5",
extras_require={"dev": ["tox"]},
install_requires=["requests>=2", "urllib3>=1.24"],
)