Skip to content

Commit 5cf85d6

Browse files
committed
Revert "Stop setting PATH to include venv/bin"
Convenience trumps consistency This reverts commit 95b8c2e.
1 parent 67ba657 commit 5cf85d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
},
1212
"remoteEnv": {
1313
// Allow X11 apps to run inside the container
14-
"DISPLAY": "${localEnv:DISPLAY}"
14+
"DISPLAY": "${localEnv:DISPLAY}",
15+
// Do the equivalent of "activate" the venv so we don't have to "uv run" everything
16+
"PATH": "/workspaces/${localWorkspaceFolderBasename}/.venv/bin:${containerEnv:PATH}"
1517
},
1618
"customizations": {
1719
"vscode": {

0 commit comments

Comments
 (0)