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
|
"""Setup module for aioshelly."""
from pathlib import Path
from setuptools import find_packages, setup
PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.md"
VERSION = "11.2.0"
with open("requirements.txt", encoding="utf-8") as file:
requirements = file.read().splitlines()
setup(
name="aioshelly",
version=VERSION,
license="Apache License 2.0",
url="https://github.com/home-assistant-libs/aioshelly",
author="Paulus Schoutsen",
author_email="paulus@home-assistant.io",
description="Asynchronous library to control Shelly devices.",
long_description=README_FILE.read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
packages=find_packages(),
python_requires=">=3.11",
package_data={"aioshelly": ["py.typed"]},
zip_safe=True,
platforms="any",
install_requires=requirements,
classifiers=[
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|