mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Update scripts/common_startup.sh
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
This commit is contained in:
co-authored by
Nicola Soranzo
parent
aa53fe3c3b
commit
afd4d3f526
@@ -118,7 +118,7 @@ if [ $SET_VENV -eq 1 ] && [ $CREATE_VENV -eq 1 ]; then
|
||||
conda_activate
|
||||
fi
|
||||
if command -v uv >/dev/null; then
|
||||
# Ensure uv uses the active conda python to avoid picking a different interpreter on PATH.
|
||||
# Ensure uv uses the active conda python to avoid picking a different uv-managed interpreter.
|
||||
uv venv --python "${CONDA_PREFIX}/bin/python" "$GALAXY_VIRTUAL_ENV"
|
||||
else
|
||||
python3 -m venv "$GALAXY_VIRTUAL_ENV"
|
||||
|
||||
Reference in New Issue
Block a user