16 lines
367 B
Python
16 lines
367 B
Python
from __future__ import annotations
|
|
|
|
import sys
|
|
from importlib import import_module
|
|
from pathlib import Path
|
|
|
|
REPOSITORY_ROOT = Path(__file__).resolve().parents[1]
|
|
if str(REPOSITORY_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(REPOSITORY_ROOT))
|
|
|
|
main = import_module("server.shipyard_synthetic.cli").main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|