2015-12-15 20:47:32 +00:00
|
|
|
#!/usr/bin/env python3
|
2016-12-28 18:04:59 +00:00
|
|
|
"""Home Assistant setup script."""
|
2018-06-25 13:57:26 +00:00
|
|
|
from datetime import datetime as dt
|
2019-12-09 15:30:16 +00:00
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
2018-02-20 04:51:05 +00:00
|
|
|
|
2019-08-01 15:30:49 +00:00
|
|
|
PROJECT_NAME = "Home Assistant"
|
|
|
|
PROJECT_PACKAGE_NAME = "homeassistant"
|
|
|
|
PROJECT_LICENSE = "Apache License 2.0"
|
|
|
|
PROJECT_AUTHOR = "The Home Assistant Authors"
|
2020-04-04 18:17:11 +00:00
|
|
|
PROJECT_COPYRIGHT = f" 2013-{dt.now().year}, {PROJECT_AUTHOR}"
|
2019-08-01 15:30:49 +00:00
|
|
|
PROJECT_EMAIL = "hello@home-assistant.io"
|
2017-11-03 14:43:30 +00:00
|
|
|
|
2019-08-01 15:30:49 +00:00
|
|
|
PACKAGES = find_packages(exclude=["tests", "tests.*"])
|
2018-07-01 15:48:54 +00:00
|
|
|
|
2015-08-29 22:59:05 +00:00
|
|
|
setup(
|
2016-09-05 10:31:48 +00:00
|
|
|
name=PROJECT_PACKAGE_NAME,
|
|
|
|
author=PROJECT_AUTHOR,
|
|
|
|
author_email=PROJECT_EMAIL,
|
2018-07-01 15:48:54 +00:00
|
|
|
packages=PACKAGES,
|
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
2019-08-01 15:30:49 +00:00
|
|
|
test_suite="tests",
|
|
|
|
entry_points={"console_scripts": ["hass = homeassistant.__main__:main"]},
|
2015-08-29 22:59:05 +00:00
|
|
|
)
|