Make life of Windows users a bit better

This commit is contained in:
Paulus Schoutsen 2015-07-19 18:32:35 -07:00
parent 7dba1b5303
commit a3906242e9
4 changed files with 16 additions and 13 deletions

View File

@ -5,6 +5,7 @@ import sys
import os
import argparse
import subprocess
import importlib
DEPENDENCIES = ['requests>=2.0', 'pyyaml>=3.11', 'pytz>=2015.2']
IS_VIRTUAL = (getattr(sys, 'base_prefix', sys.prefix) != sys.prefix or
@ -123,6 +124,9 @@ def main():
validate_python()
validate_dependencies()
# Windows needs this to pick up new modules
importlib.invalidate_caches()
bootstrap = ensure_path_and_load_bootstrap()
validate_git_submodules()
@ -133,11 +137,10 @@ def main():
config_path = ensure_config_path(config_dir)
if args.demo_mode:
from homeassistant.components import http, demo
from homeassistant.components import frontend, demo
# Demo mode only requires http and demo components.
hass = bootstrap.from_config_dict({
http.DOMAIN: {},
frontend.DOMAIN: {},
demo.DOMAIN: {}
})
else:

View File

@ -1,2 +1,2 @@
""" DO NOT MODIFY. Auto-generated by build_frontend script """
VERSION = "fcdb0ebfe95f973b1354ede21966454f"
VERSION = "4f94fd4404583fbf27cc899c024d26ff"

File diff suppressed because one or more lines are too long

@ -1 +1 @@
Subproject commit df15796f189f8f4c495a6d86a083b396597a421e
Subproject commit 576c04efb49a8a5f7f35734458ffc93f874dd68d