mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
commit
ddeccf13af
@ -82,7 +82,11 @@ class HomeAssistant(object):
|
|||||||
DOMAIN, SERVICE_HOMEASSISTANT_STOP, stop_homeassistant)
|
DOMAIN, SERVICE_HOMEASSISTANT_STOP, stop_homeassistant)
|
||||||
|
|
||||||
if os.name != "nt":
|
if os.name != "nt":
|
||||||
|
try:
|
||||||
signal.signal(signal.SIGQUIT, stop_homeassistant)
|
signal.signal(signal.SIGQUIT, stop_homeassistant)
|
||||||
|
except ValueError:
|
||||||
|
_LOGGER.warning(
|
||||||
|
'Could not bind to SIGQUIT. Are you running in a thread?')
|
||||||
|
|
||||||
while not request_shutdown.isSet():
|
while not request_shutdown.isSet():
|
||||||
try:
|
try:
|
||||||
|
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ with open(os.path.join(HERE, PACKAGE_NAME, 'const.py')) as fp:
|
|||||||
DOWNLOAD_URL = \
|
DOWNLOAD_URL = \
|
||||||
'https://github.com/balloob/home-assistant/archive/{}.zip'.format(VERSION)
|
'https://github.com/balloob/home-assistant/archive/{}.zip'.format(VERSION)
|
||||||
|
|
||||||
PACKAGES = find_packages() + \
|
PACKAGES = find_packages(exclude=['tests', 'tests.*']) + \
|
||||||
['homeassistant.external', 'homeassistant.external.noop',
|
['homeassistant.external', 'homeassistant.external.noop',
|
||||||
'homeassistant.external.nzbclients', 'homeassistant.external.vera']
|
'homeassistant.external.nzbclients', 'homeassistant.external.vera']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user