forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·53 lines (49 loc) · 1.43 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
#!/usr/bin/env python3
"""Home Assistant setup script."""
import os
from setuptools import setup, find_packages
from homeassistant.const import (__version__, PROJECT_PACKAGE_NAME,
PROJECT_LICENSE, PROJECT_URL,
PROJECT_EMAIL, PROJECT_DESCRIPTION,
PROJECT_CLASSIFIERS, GITHUB_URL,
PROJECT_AUTHOR)
HERE = os.path.abspath(os.path.dirname(__file__))
DOWNLOAD_URL = ('{}/archive/'
'{}.zip'.format(GITHUB_URL, __version__))
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
REQUIRES = [
'requests>=2,<3',
'pyyaml>=3.11,<4',
'pytz>=2017.02',
'pip>=7.1.0',
'jinja2>=2.9.5',
'voluptuous==0.10.5',
'typing>=3,<4',
'aiohttp==2.0.7',
'async_timeout==1.2.1',
'chardet==3.0.2',
'astral==1.4',
]
setup(
name=PROJECT_PACKAGE_NAME,
version=__version__,
license=PROJECT_LICENSE,
url=PROJECT_URL,
download_url=DOWNLOAD_URL,
author=PROJECT_AUTHOR,
author_email=PROJECT_EMAIL,
description=PROJECT_DESCRIPTION,
packages=PACKAGES,
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=REQUIRES,
test_suite='tests',
keywords=['home', 'automation'],
entry_points={
'console_scripts': [
'hass = homeassistant.__main__:main'
]
},
classifiers=PROJECT_CLASSIFIERS,
)