Skip to content
Snippets Groups Projects
Commit 3a3b8bbb authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Fix packaging issues

parent d3c47225
No related branches found
No related tags found
No related merge requests found
recursive-exclude tests * include README.md
recursive-include homeassistant services.yaml include LICENSE
graft homeassistant
prune homeassistant/components/frontend/www_static/home-assistant-polymer
recursive-exclude * *.py[co]
# coding: utf-8 # coding: utf-8
""" Constants used by Home Assistant components. """ """ Constants used by Home Assistant components. """
__version__ = "0.7.5dev0" __version__ = "0.7.5.dev0"
# Can be used to specify a catch all when registering state or event listeners. # Can be used to specify a catch all when registering state or event listeners.
MATCH_ALL = '*' MATCH_ALL = '*'
......
...@@ -9,11 +9,12 @@ DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/' ...@@ -9,11 +9,12 @@ DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
PACKAGES = find_packages(exclude=['tests', 'tests.*']) PACKAGES = find_packages(exclude=['tests', 'tests.*'])
PACKAGE_DATA = \ # PACKAGE_DATA = \
{'homeassistant.components.frontend': ['index.html.template'], # {'homeassistant.components.frontend': ['index.html.template'],
'homeassistant.components.frontend.www_static': ['*.*'], # 'homeassistant.components.frontend.www_static': ['*.*'],
'homeassistant.components.frontend.www_static.images': ['*.*'], # 'homeassistant.components.frontend.www_static.images': ['*.*'],
'homeassistant.startup': ['*.*']} # 'homeassistant.components.mqtt': ['*.crt'],
# 'homeassistant.startup': ['*.*']}
REQUIRES = [ REQUIRES = [
'requests>=2,<3', 'requests>=2,<3',
...@@ -23,6 +24,7 @@ REQUIRES = [ ...@@ -23,6 +24,7 @@ REQUIRES = [
'vincenty==0.1.2' 'vincenty==0.1.2'
] ]
# package_data=PACKAGE_DATA,
setup( setup(
name=PACKAGE_NAME, name=PACKAGE_NAME,
version=__version__, version=__version__,
...@@ -34,7 +36,6 @@ setup( ...@@ -34,7 +36,6 @@ setup(
description='Open-source home automation platform running on Python 3.', description='Open-source home automation platform running on Python 3.',
packages=PACKAGES, packages=PACKAGES,
include_package_data=True, include_package_data=True,
package_data=PACKAGE_DATA,
zip_safe=False, zip_safe=False,
platforms='any', platforms='any',
install_requires=REQUIRES, install_requires=REQUIRES,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment