-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (36 loc) · 981 Bytes
/
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
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://fmtr.link/{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<2',
'pyyaml',
'requests'
],
extras_require={
'tasmota': [
]
},
entry_points={
'console_scripts': [
f'{name}-daemon = {name}.start:main',
],
}
)