export variables instead of sourcing shell script activate
This commit is contained in:
parent
88f75d8830
commit
3f121920fc
1 changed files with 2 additions and 1 deletions
3
spcd.sh
3
spcd.sh
|
@ -672,7 +672,8 @@ index-url = ${SPCD_URL_PYTHON}
|
||||||
spcd_split
|
spcd_split
|
||||||
"${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}"
|
"${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}"
|
||||||
spcd_split
|
spcd_split
|
||||||
. "${SPCD_PYTHON_VENV}/bin/activate"
|
export PATH="${SPCD_PYTHON_VENV_BINARIES}:${PATH}"
|
||||||
|
export VIRTUAL_ENV="${SPCD_PYTHON_VENV}"
|
||||||
spcd_split
|
spcd_split
|
||||||
pip install --upgrade "pip"
|
pip install --upgrade "pip"
|
||||||
spcd_split
|
spcd_split
|
||||||
|
|
Loading…
Reference in a new issue