Skip to content

Commit a130923

Browse files
committed
Removing pip plugin since it was not used.
``` % devbox add pip Error: Package pip not found ``` we also moved `venvShellHook.sh` to a python directory.
1 parent d1ab641 commit a130923

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

plugins/pip.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

plugins/python.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"version": "0.0.4",
44
"description": "Python in Devbox works best when used with a virtual environment (venv, virtualenv, etc.). Devbox will automatically create a virtual environment using `venv` for python3 projects, so you can install packages with pip as normal.\nTo activate the environment, run `. $VENV_DIR/bin/activate` or add it to the init_hook of your devbox.json\nTo change where your virtual environment is created, modify the $VENV_DIR environment variable in your init_hook",
55
"env": {
6-
"VENV_DIR": "{{ .DevboxProjectDir }}/.venv"
6+
"VENV_DIR": "{{ .DevboxProjectDir }}/.venv",
7+
"UV_PYTHON": "{{ .DevboxProjectRoot }}/.devbox/nix/profile/default/bin/python"
78
},
89
"create_files": {
9-
"{{ .Virtenv }}/bin/venvShellHook.sh": "pip/venvShellHook.sh"
10+
"{{ .Virtenv }}/bin/venvShellHook.sh": "python/venvShellHook.sh"
1011
},
1112
"shell": {
1213
"init_hook": ["{{ .Virtenv }}/bin/venvShellHook.sh"]
File renamed without changes.

0 commit comments

Comments
 (0)