mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-06-26 04:51:26 +02:00
14 lines
356 B
Python
14 lines
356 B
Python
import logging
|
|
from importlib.util import find_spec
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
|
|
def check_optional_deps() -> None:
|
|
if find_spec("pyitm") is None:
|
|
logger.warning(
|
|
"Optional dependency missing: pyitm. "
|
|
"Coverage prediction is disabled. "
|
|
"Run: ./env/bin/pip install -r requirements.txt"
|
|
)
|