core/setup.py

26 lines
733 B
Python
Raw Normal View History

2015-12-15 20:47:32 +00:00
#!/usr/bin/env python3
2016-12-28 18:04:59 +00:00
"""Home Assistant setup script."""
from datetime import datetime as dt
from setuptools import find_packages, setup
2018-02-20 04:51:05 +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}"
PROJECT_EMAIL = "hello@home-assistant.io"
PACKAGES = find_packages(exclude=["tests", "tests.*"])
setup(
2016-09-05 10:31:48 +00:00
name=PROJECT_PACKAGE_NAME,
author=PROJECT_AUTHOR,
author_email=PROJECT_EMAIL,
packages=PACKAGES,
include_package_data=True,
zip_safe=False,
test_suite="tests",
entry_points={"console_scripts": ["hass = homeassistant.__main__:main"]},
)