Skip to content

Commit d11ac15

Browse files
committed
tweak docs + UV_PYTHON variable
1 parent b697a63 commit d11ac15

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/app/docs/guides/plugins.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Built-in plugins are available for the following packages. You can activate the
3232
* [Redis](../devbox_examples/databases/redis.md) (redis)
3333
* [Valkey](../devbox_examples/databases/valkey.md) (valkey)
3434
* [PHP](../devbox_examples/languages/php.md) (php, php80, php81, php82...)
35-
* [Python](../devbox_examples/languages/python.md) (python39Packages.pip, python310Packages.pip, python311Packages.pip...)
35+
* [Python](../devbox_examples/languages/python.md) (python, python-full, python-minimal...)
3636
* [Ruby](../devbox_examples/languages/ruby.md)(ruby, ruby_3_1, ruby_3_0...)
3737

3838

@@ -163,4 +163,3 @@ Developers should directly edit helper files and check them into source control
163163
## Plugins Source Code
164164

165165
Devbox Plugins are written in JSON and stored in the main Devbox Repo. You can view the source code of the current plugins [here](https://github.com/jetify-com/devbox/tree/main/plugins)
166-

plugins/python.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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": {
66
"VENV_DIR": "{{ .DevboxProjectDir }}/.venv",
7-
"UV_PYTHON": "{{ .DevboxProjectRoot }}/.devbox/nix/profile/default/bin/python"
7+
"UV_PYTHON": "{{ .DevboxProjectDir }}/.devbox/nix/profile/default/bin/python"
88
},
99
"create_files": {
1010
"{{ .Virtenv }}/bin/venvShellHook.sh": "python/venvShellHook.sh"

0 commit comments

Comments
 (0)