update mini cal
This commit is contained in:
@@ -22,11 +22,21 @@ for path in (OPERATOR_SRC, PUBLIC_SRC):
|
||||
if str(path) not in sys.path:
|
||||
sys.path.insert(0, str(path))
|
||||
|
||||
# Prefer sibling orisys-sdk checkout for Sensor-owned preview.
|
||||
# Prefer sibling checkouts for editable Sensor-owned preview.
|
||||
ORISYS_COMMON_SRC = REPO.parent / "orisys-common" / "src"
|
||||
if ORISYS_COMMON_SRC.is_dir() and str(ORISYS_COMMON_SRC) not in sys.path:
|
||||
sys.path.insert(0, str(ORISYS_COMMON_SRC))
|
||||
|
||||
ORISYS_SRC = REPO.parent / "orisys-sdk" / "src"
|
||||
if ORISYS_SRC.is_dir() and str(ORISYS_SRC) not in sys.path:
|
||||
sys.path.insert(0, str(ORISYS_SRC))
|
||||
|
||||
from orisys_common.runtime import configure_app_root # noqa: E402
|
||||
from sensor_bench.paths import prefer_local_sensor_bundles # noqa: E402
|
||||
|
||||
configure_app_root(REPO)
|
||||
prefer_local_sensor_bundles(REPO)
|
||||
|
||||
from sensor_bench_operator.__main__ import main # noqa: E402
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user