mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Check if a script requirement is available before install (#20517)
* Check if a script requirement is available before install * PackageLoadable * hound * req
This commit is contained in:
committed by
Paulus Schoutsen
parent
f3c9327ccf
commit
90d3f517d8
@@ -5,7 +5,6 @@ import logging
|
||||
import os
|
||||
from collections import OrderedDict, namedtuple
|
||||
from glob import glob
|
||||
from platform import system
|
||||
from typing import Dict, List, Sequence
|
||||
from unittest.mock import patch
|
||||
|
||||
@@ -22,8 +21,6 @@ from homeassistant.util import yaml
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
REQUIREMENTS = ('colorlog==4.0.2',)
|
||||
if system() == 'Windows': # Ensure colorama installed for colorlog on Windows
|
||||
REQUIREMENTS += ('colorama<=1',)
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
# pylint: disable=protected-access
|
||||
|
||||
Reference in New Issue
Block a user