This repository was archived by the owner on Jul 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (45 loc) · 1.67 KB
/
setup.py
File metadata and controls
53 lines (45 loc) · 1.67 KB
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
"""Setup for python_freeathome_local python package."""
from __future__ import annotations
from os import path
from setuptools import find_packages, setup
PACKAGE_NAME = "python_freeathome_local"
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
VERSION = {}
# pylint: disable=exec-used
with open(
path.join(HERE, PACKAGE_NAME, "__version__.py"), encoding="utf-8"
) as fp:
exec(fp.read(), VERSION)
PACKAGES = find_packages(exclude=["dist", "build"])
REQUIRES = ["aiohttp>=3.9.1"]
setup(
name=PACKAGE_NAME,
version=VERSION["__version__"],
license="MIT License",
url="https://github.com/derjoerg/python_freeathome_local",
download_url="https://github.com/derjoerg/python_freeathome_local/tarball/"
+ VERSION["__version__"],
author="Joerg Schoppet",
author_email="joerg@schoppet.de",
description="Python Library to communicate with local Busch-Jaeger Free@Home REST API",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=PACKAGES,
package_data={"python_freeathome_local": ["py.typed"]},
zip_safe=False,
platforms="any",
python_requires=">=3.11",
install_requires=REQUIRES,
keywords=["freeathome", "busch-jaeger", "rest", "home", "automation"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Home Automation",
],
)