Remove external from scripts and package info

This commit is contained in:
Paulus Schoutsen 2015-09-09 09:08:06 -07:00
parent 4d05650744
commit c971e50a68
5 changed files with 3 additions and 8 deletions

View file

@ -4,8 +4,6 @@ source = homeassistant
omit =
homeassistant/__main__.py
homeassistant/external/*
# omit pieces of code that rely on external devices being present
homeassistant/components/arduino.py
homeassistant/components/*/arduino.py

View file

@ -6,7 +6,7 @@ install:
- pip install -r requirements_all.txt
- pip install flake8 pylint coveralls
script:
- flake8 homeassistant --exclude bower_components,external
- flake8 homeassistant
- pylint homeassistant
- coverage run -m unittest discover tests
after_success:

View file

@ -1,5 +1,4 @@
[MASTER]
ignore=external,setup.py
reports=no
# Reasons disabled:

View file

@ -5,5 +5,5 @@ if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi
flake8 homeassistant
pylint homeassistant
flake8 homeassistant --exclude bower_components,external

View file

@ -7,9 +7,7 @@ HERE = os.path.abspath(os.path.dirname(__file__))
DOWNLOAD_URL = ('https://github.com/balloob/home-assistant/archive/'
'{}.zip'.format(__version__))
PACKAGES = find_packages(exclude=['tests', 'tests.*']) + \
['homeassistant.external', 'homeassistant.external.noop',
'homeassistant.external.nzbclients', 'homeassistant.external.vera']
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
PACKAGE_DATA = \
{'homeassistant.components.frontend': ['index.html.template'],