Skip to content

Commit

Permalink
Fix packaging issues
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Oct 10, 2015
1 parent d3c4722 commit 3a3b8bb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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]
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion homeassistant/const.py
Original file line number Diff line number Diff line change
@@ -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 = '*'
Expand Down
Empty file removed homeassistant/startup/__init__.py
Empty file.
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

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',
Expand All @@ -23,6 +24,7 @@
'vincenty==0.1.2'
]

# package_data=PACKAGE_DATA,
setup(
name=PACKAGE_NAME,
version=__version__,
Expand All @@ -34,7 +36,6 @@
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,
Expand Down

0 comments on commit 3a3b8bb

Please sign in to comment.