2015-08-29 22:59:05 +00:00
|
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
2015-09-09 02:47:05 +00:00
|
|
|
from homeassistant.const import __version__
|
2015-08-29 22:59:05 +00:00
|
|
|
|
|
|
|
PACKAGE_NAME = 'homeassistant'
|
|
|
|
HERE = os.path.abspath(os.path.dirname(__file__))
|
2015-09-09 02:47:05 +00:00
|
|
|
DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
|
|
|
|
'{}.zip'.format(__version__))
|
2015-08-29 22:59:05 +00:00
|
|
|
|
2015-09-09 16:08:06 +00:00
|
|
|
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
|
2015-08-29 22:59:05 +00:00
|
|
|
|
|
|
|
PACKAGE_DATA = \
|
|
|
|
{'homeassistant.components.frontend': ['index.html.template'],
|
|
|
|
'homeassistant.components.frontend.www_static': ['*.*'],
|
2015-09-15 06:29:57 +00:00
|
|
|
'homeassistant.components.frontend.www_static.images': ['*.*'],
|
|
|
|
'homeassistant.startup': ['*.*']}
|
2015-08-29 22:59:05 +00:00
|
|
|
|
2015-09-01 08:56:13 +00:00
|
|
|
REQUIRES = [
|
|
|
|
'requests>=2,<3',
|
|
|
|
'pyyaml>=3.11,<4',
|
|
|
|
'pytz>=2015.4',
|
|
|
|
'pip>=7.0.0',
|
|
|
|
]
|
2015-08-30 02:19:52 +00:00
|
|
|
|
2015-08-29 22:59:05 +00:00
|
|
|
setup(
|
|
|
|
name=PACKAGE_NAME,
|
2015-09-09 02:47:05 +00:00
|
|
|
version=__version__,
|
2015-08-29 22:59:05 +00:00
|
|
|
license='MIT License',
|
|
|
|
url='https://home-assistant.io/',
|
2015-08-30 02:19:52 +00:00
|
|
|
download_url=DOWNLOAD_URL,
|
2015-08-29 22:59:05 +00:00
|
|
|
author='Paulus Schoutsen',
|
|
|
|
author_email='paulus@paulusschoutsen.nl',
|
|
|
|
description='Open-source home automation platform running on Python 3.',
|
|
|
|
packages=PACKAGES,
|
|
|
|
include_package_data=True,
|
|
|
|
package_data=PACKAGE_DATA,
|
|
|
|
zip_safe=False,
|
|
|
|
platforms='any',
|
2015-08-30 02:19:52 +00:00
|
|
|
install_requires=REQUIRES,
|
2015-08-29 22:59:05 +00:00
|
|
|
keywords=['home', 'automation'],
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'hass = homeassistant.__main__:main'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
classifiers=[
|
|
|
|
'Intended Audience :: End Users/Desktop',
|
2015-08-30 02:19:52 +00:00
|
|
|
'Intended Audience :: Developers',
|
2015-08-29 22:59:05 +00:00
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Topic :: Home Automation'
|
|
|
|
]
|
|
|
|
)
|