mirror of
https://github.com/fmtr/haco.git
synced 2026-10-25 18:40:15 -04:00
38 lines
951 B
Python
38 lines
951 B
Python
from pathlib import Path
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
packages = find_packages()
|
|
name = next(iter(packages))
|
|
path_base = Path(__file__).absolute().parent
|
|
path = path_base / name / 'version'
|
|
__version__ = path.read_text().strip()
|
|
|
|
setup(
|
|
long_description=(path_base / 'README.md').read_text(),
|
|
long_description_content_type='text/markdown',
|
|
name=name,
|
|
version=__version__,
|
|
url=f'https://link.frontmatter.ai/{name}',
|
|
license='Copyright © 2023 Frontmatter. All rights reserved.',
|
|
author='Frontmatter',
|
|
description='Home Assistant Control Objects',
|
|
keywords='homeassistant controls python tasmota',
|
|
packages=packages,
|
|
package_data={
|
|
name: [f'version'],
|
|
},
|
|
install_requires=[
|
|
'aiomqtt'
|
|
],
|
|
extras_require={
|
|
'tasmota': [
|
|
|
|
]
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
f'{name}-daemon = {name}.start:main',
|
|
],
|
|
}
|
|
)
|