forked from davidusb-geek/emhass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (60 loc) · 2.21 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""A setuptools based setup module.
See:
https://packaging.python.org/guides/distributing-packages-using-setuptools/
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
setup(
name='emhass', # Required
version='0.7.5', # Required
description='An Energy Management System for Home Assistant', # Optional
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional (see note above)
url='https://github.com/davidusb-geek/emhass', # Optional
author='David HERNANDEZ', # Optional
author_email='davidusb@gmail.com', # Optional
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.11',
"Operating System :: OS Independent",
],
keywords='energy, management, optimization, hass', # Optional
package_dir={'': 'src'}, # Optional
packages=find_packages(where='src'), # Required
python_requires='>=3.9, <3.12',
install_requires=[
'wheel',
'numpy<=1.26',
'scipy<=1.11.3',
'pandas<=2.0.3',
'pvlib>=0.10.2',
'protobuf>=3.0.0',
'pytz>=2021.1',
'requests>=2.25.1',
'beautifulsoup4>=4.9.3',
'h5py==3.10.0',
'pulp>=2.4',
'pyyaml>=5.4.1',
'tables<=3.9.1',
'skforecast==0.11.0',
'flask>=2.0.3',
'waitress>=2.1.1',
'plotly>=5.6.0'
], # Optional
entry_points={ # Optional
'console_scripts': [
'emhass=emhass.command_line:main',
],
},
package_data={'emhass': ['templates/index.html','static/style.css','static/img/emhass_icon.png','static/img/emhass_logo_short.svg']},
)