-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
50 lines (42 loc) · 1.62 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
"""Module for setting up PyVLX pypi object."""
import os
from os import path
from setuptools import find_packages, setup
REQUIRES = ["PyYAML", "zeroconf"]
PKG_ROOT = os.path.dirname(__file__)
VERSION = "0.2.25"
def get_long_description() -> str:
"""Read long description from README.md."""
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as readme:
long_description = readme.read()
return long_description
setup(
name="pyvlx",
version=VERSION,
download_url="https://github.com/Julius2342/pyvlx/archive/" + VERSION + ".zip",
url="https://github.com/Julius2342/pyvlx",
description="PyVLX is a wrapper for the Velux KLF 200 API. PyVLX enables you to run scenes and or open and close velux windows.",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Julius Mittenzwei",
author_email="julius@mittenzwei.com",
license="LGPL",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Topic :: System :: Hardware :: Hardware Drivers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
packages=find_packages(exclude=['test*']),
package_data={
"pyvlx": ["py.typed"],
},
python_requires='>=3.11',
install_requires=REQUIRES,
keywords="velux KLF 200 home automation",
zip_safe=False,
)