Skip to content

Commit 7a5c71f

Browse files
committed
Fix: Use expanduser for Darwin KRATOS_ROOT default path
Replace hardcoded user path with os.path.expanduser to make it portable across different users while maintaining environment variable override capability.
1 parent 14e650e commit 7a5c71f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/wheels/build_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# KRATOS_ROOT="/workspace/kratos/Kratos"
4141
# WHEEL_ROOT="/workspace/wheel"
4242
# WHEEL_OUT="/workspace/dist"
43-
'KRATOS_ROOT': os.environ.get("KRATOS_ROOT", "/Users/alessandro/Braid/Kratos"),
43+
'KRATOS_ROOT': os.environ.get("KRATOS_ROOT", os.path.expanduser("~/Braid/Kratos")),
4444
'WHEEL_ROOT': os.environ.get("WHEEL_ROOT", "/tmp/kratos_wheel"),
4545
'WHEEL_OUT': os.environ.get("WHEEL_OUT", "/tmp/kratos_dist"),
4646
}

0 commit comments

Comments
 (0)