Первоначальная настройка

This commit is contained in:
Даниил Грабарь
2026-09-13 13:56:29 +03:00
commit 397e33bd08
46 changed files with 13809 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from pathlib import Path
import os
import sys
# Ignore inherited Python overlays (for example a shell that sourced a ROS workspace).
# All runtime dependencies belong to uv's virtual environment.
overlays = {str(Path(p).resolve()) for p in os.environ.get("PYTHONPATH", "").split(os.pathsep) if p}
sys.path[:] = [p for p in sys.path if str(Path(p).resolve()) not in overlays]
sys.path.insert(0, str(Path(__file__).resolve().parent / "src"))
from iiwa_genesis.cli import main
if __name__ == "__main__":
main()