Keep /home/fam/venv/bin in PATH after activating project venv to access uv
This commit is contained in:
parent
c685372845
commit
bb02ed25b8
@ -88,12 +88,14 @@ ailab:
|
|||||||
- python3 -m venv $HOME/venv
|
- python3 -m venv $HOME/venv
|
||||||
- source $HOME/venv/bin/activate
|
- source $HOME/venv/bin/activate
|
||||||
- pip install uv --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
- pip install uv --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
- export PATH="$HOME/.local/bin:$PATH"
|
- export PATH="$HOME/venv/bin:$HOME/.local/bin:$PATH"
|
||||||
- uv venv --python /usr/bin/python3 venv
|
- $HOME/venv/bin/uv venv --python /usr/bin/python3 venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
|
- export PATH="$HOME/venv/bin:$PATH"
|
||||||
- uv pip install -r requirements.txt --default-index https://pypi.tuna.tsinghua.edu.cn/simple
|
- uv pip install -r requirements.txt --default-index https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
script:
|
script:
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
|
- export PATH="$HOME/venv/bin:$PATH"
|
||||||
- make fetch-quick
|
- make fetch-quick
|
||||||
- make sbs-quick
|
- make sbs-quick
|
||||||
- make train-quick
|
- make train-quick
|
||||||
Loading…
x
Reference in New Issue
Block a user