File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def get_project_root() -> Path:
2727 Returns:
2828 Path: Absolute path to project root directory
2929 """
30+
3031 # Start from script's parent directory (since we're in setup/ folder)
3132 # Path(__file__).resolve() gives absolute path, .parent.parent goes up two levels
3233 start_path = Path (__file__ ).resolve ().parent .parent
@@ -58,6 +59,7 @@ def setup_python_path() -> None:
5859 - Converts to string only when needed for sys.path compatibility
5960 - Uses sys.path.insert(0, ...) to prioritize our modules
6061 """
62+
6163 project_root = get_project_root ()
6264 # Use pathlib's / operator for cross-platform path joining
6365 shared_python_path = project_root / 'shared' / 'python'
@@ -83,6 +85,7 @@ def generate_env_file() -> None:
8385 - pathlib handles path separators automatically (\\ on Windows, / on Unix)
8486 - Works with VS Code's python.envFile setting
8587 """
88+
8689 project_root = get_project_root ()
8790 shared_python_path = project_root / 'shared' / 'python'
8891
You can’t perform that action at this time.
0 commit comments