mirror of
https://github.com/fmtr/haco.git
synced 2026-12-05 06:10:08 -05:00
Add content
This commit is contained in:
commit
8b9b7226b1
43 changed files with 2307 additions and 0 deletions
38
setup.py
Normal file
38
setup.py
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
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',
|
||||
],
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue