Implemented comments from Paulus.

Revised main to use frontend and demo strings rather than importing
their domains.
Removed submodule validation.
Moved local library mounting to the bootstrap module and out of core.
Added requirements_all.txt for all dependencies.
Made core dependencies looser.
Small updates to setup.py.
This commit is contained in:
Ryan Kraus committed 2015-08-29 22:19:52 -04:00
1 parent 893ae15042
commit 0b6358e759
7 files changed
+155 -35

No files matched your search

+8 -2
View File
@@ -6,6 +6,8 @@ PACKAGE_NAME = 'homeassistant'
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, PACKAGE_NAME, 'const.py')) as fp:
VERSION = re.search("__version__ = ['\"]([^']+)['\"]\n", fp.read()).group(1)
DOWNLOAD_URL = \
'https://github.com/balloob/home-assistant/tarball/{}'.format(VERSION)
PACKAGES = find_packages() + \
['homeassistant.external', 'homeassistant.external.noop',
@@ -16,12 +18,15 @@ PACKAGE_DATA = \
'homeassistant.components.frontend.www_static': ['*.*'],
'homeassistant.components.frontend.www_static.images': ['*.*']}
REQUIRES = \
[line.strip() for line in open('requirements.txt', 'r')]
setup(
name=PACKAGE_NAME,
version=VERSION,
license='MIT License',
url='https://home-assistant.io/',
download_url='https://github.com/automicus/pyisy/tarball/0.7.0',
download_url=DOWNLOAD_URL,
author='Paulus Schoutsen',
author_email='paulus@paulusschoutsen.nl',
description='Open-source home automation platform running on Python 3.',
@@ -30,7 +35,7 @@ setup(
package_data=PACKAGE_DATA,
zip_safe=False,
platforms='any',
install_requires=['requests==2.7.0', 'pyyaml==3.11', 'pytz==2015.4'],
install_requires=REQUIRES,
keywords=['home', 'automation'],
entry_points={
'console_scripts': [
@@ -39,6 +44,7 @@ setup(
},
classifiers=[
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',