From 3a3b8bbb45541ee4a94f87c522093ed8da81c19a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 10 Oct 2015 10:33:09 -0700 Subject: [PATCH] Fix packaging issues --- MANIFEST.in | 7 +++++-- .../components/frontend/www_static/__init__.py | 0 .../frontend/www_static/images/__init__.py | 0 homeassistant/const.py | 2 +- homeassistant/startup/__init__.py | 0 setup.py | 13 +++++++------ 6 files changed, 13 insertions(+), 9 deletions(-) delete mode 100644 homeassistant/components/frontend/www_static/__init__.py delete mode 100644 homeassistant/components/frontend/www_static/images/__init__.py delete mode 100644 homeassistant/startup/__init__.py diff --git a/MANIFEST.in b/MANIFEST.in index 53d3a9e22a9..8233015e646 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,5 @@ -recursive-exclude tests * -recursive-include homeassistant services.yaml +include README.md +include LICENSE +graft homeassistant +prune homeassistant/components/frontend/www_static/home-assistant-polymer +recursive-exclude * *.py[co] diff --git a/homeassistant/components/frontend/www_static/__init__.py b/homeassistant/components/frontend/www_static/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/homeassistant/components/frontend/www_static/images/__init__.py b/homeassistant/components/frontend/www_static/images/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/homeassistant/const.py b/homeassistant/const.py index 35e3e2c93ae..0573a0cbbf7 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -1,7 +1,7 @@ # coding: utf-8 """ 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. MATCH_ALL = '*' diff --git a/homeassistant/startup/__init__.py b/homeassistant/startup/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/setup.py b/setup.py index 044d5428809..b9b5cdd0d5d 100755 --- a/setup.py +++ b/setup.py @@ -9,11 +9,12 @@ DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/' PACKAGES = find_packages(exclude=['tests', 'tests.*']) -PACKAGE_DATA = \ - {'homeassistant.components.frontend': ['index.html.template'], - 'homeassistant.components.frontend.www_static': ['*.*'], - 'homeassistant.components.frontend.www_static.images': ['*.*'], - 'homeassistant.startup': ['*.*']} +# PACKAGE_DATA = \ +# {'homeassistant.components.frontend': ['index.html.template'], +# 'homeassistant.components.frontend.www_static': ['*.*'], +# 'homeassistant.components.frontend.www_static.images': ['*.*'], +# 'homeassistant.components.mqtt': ['*.crt'], +# 'homeassistant.startup': ['*.*']} REQUIRES = [ 'requests>=2,<3', @@ -23,6 +24,7 @@ REQUIRES = [ 'vincenty==0.1.2' ] + # package_data=PACKAGE_DATA, setup( name=PACKAGE_NAME, version=__version__, @@ -34,7 +36,6 @@ setup( 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', install_requires=REQUIRES,