Skip to content

Commit cb84388

Browse files
authored
add: user portable venv (#281)
Document how to make the venv point to the uenv python instead of installing in `$HOME` and pointing to it
1 parent e727f38 commit cb84388

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/storage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ The first step is to create the virtual environment using the usual workflow.
206206
# create and activate a new relocatable venv using uv
207207
# in this case we explicitly select python 3.12
208208
uv venv -p 3.12 --relocatable --link-mode=copy /dev/shm/sqfs-demo/.venv
209+
# You can also point to the uenv python with `uv venv -p $(which python) ...`
210+
# which, among other things, enables user portability of the venv
209211
cd /dev/shm/sqfs-demo
210212
source .venv/bin/activate
211213

0 commit comments

Comments
 (0)