release: public alpha 0.6.0 baseline
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Compatibility entrypoint for the packaged JWeBot Edge runtime."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parent
|
||||
sys.path[:0] = [
|
||||
str(ROOT / "packages" / "jwebot-config" / "src"),
|
||||
str(ROOT / "packages" / "jwebot-sdk" / "src"),
|
||||
str(ROOT / "packages" / "jwebot-official-extensions" / "src"),
|
||||
str(ROOT / "packages" / "jwebot-kernel" / "src"),
|
||||
]
|
||||
|
||||
from jwebot_kernel import edge_runtime as _runtime # noqa: E402
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(_runtime.main())
|
||||
|
||||
# Standard imports receive the implementation module itself, so legacy
|
||||
# monkeypatching and runtime configuration continue to affect function globals.
|
||||
sys.modules[__name__] = _runtime
|
||||
Reference in New Issue
Block a user