Skip to content

Commit 193ebf5

Browse files
committed
fix(python-plugin): add UV_PROJECT_ENVIRONMENT env variable
1 parent a235f7d commit 193ebf5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/python.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"{{ .Virtenv }}/bin/venvShellHook.sh": "python/venvShellHook.sh"
1010
},
1111
"shell": {
12-
"init_hook": ["{{ .Virtenv }}/bin/venvShellHook.sh"]
12+
"init_hook": [
13+
"export UV_PROJECT_ENVIRONMENT=\"$VENV_DIR\"",
14+
"{{ .Virtenv }}/bin/venvShellHook.sh"
15+
]
1316
}
1417
}

0 commit comments

Comments
 (0)