| 1 |
|
| 2 |
|
| 3 |
"""The setup script.""" |
| 4 |
|
| 5 |
from setuptools import setup, find_packages |
| 6 |
|
| 7 |
with open("README.rst") as readme_file: |
| 8 |
readme = readme_file.read() |
| 9 |
|
| 10 |
with open("HISTORY.rst") as history_file: |
| 11 |
history = history_file.read() |
| 12 |
|
| 13 |
requirements = ["aiohttp>=3", "jmespath>1.0.0"] |
| 14 |
|
| 15 |
setup_requirements = [ |
| 16 |
"pytest-runner", |
| 17 |
] |
| 18 |
|
| 19 |
test_requirements = [ |
| 20 |
"pytest>=3", |
| 21 |
"pytest-asyncio>=0.10.0", |
| 22 |
"deepmerge", |
| 23 |
] |
| 24 |
|
| 25 |
setup( |
| 26 |
version="2.5.7", |
| 27 |
author="BleBox", |
| 28 |
author_email="[email protected]", |
| 29 |
python_requires=">=3.9", |
| 30 |
classifiers=[ |
| 31 |
"Development Status :: 2 - Pre-Alpha", |
| 32 |
"Intended Audience :: Developers", |
| 33 |
"License :: OSI Approved :: Apache Software License", |
| 34 |
"Natural Language :: English", |
| 35 |
"Programming Language :: Python :: 3.9", |
| 36 |
"Programming Language :: Python :: 3.10", |
| 37 |
"Programming Language :: Python :: 3.11", |
| 38 |
], |
| 39 |
description="Python API for accessing BleBox smart home devices", |
| 40 |
install_requires=requirements, |
| 41 |
license="Apache Software License 2.0", |
| 42 |
long_description=readme + "\n\n" + history, |
| 43 |
long_description_content_type="text/x-rst", |
| 44 |
include_package_data=False, |
| 45 |
keywords="blebox_uniapi", |
| 46 |
name="blebox_uniapi", |
| 47 |
packages=find_packages(include=["blebox_uniapi", "blebox_uniapi.*"]), |
| 48 |
setup_requires=setup_requirements, |
| 49 |
test_suite="tests", |
| 50 |
tests_require=test_requirements, |
| 51 |
url="https://github.com/blebox/blebox_uniapi", |
| 52 |
zip_safe=False, |
| 53 |
) |