changed path in venv activate from absolute to generated relative

This commit is contained in:
2025-10-28 15:37:06 +03:00
parent aeb3d90aec
commit c695ee2d0c

View File

@ -42,7 +42,9 @@ if [ "${OSTYPE:-}" = "cygwin" ] || [ "${OSTYPE:-}" = "msys" ] ; then
export VIRTUAL_ENV=$(cygpath /home/feda/MIPT/RadioPhotonic_Subserface_radar/Generator_PCB/Python_GUI/.venv)
else
# use the path as-is
export VIRTUAL_ENV=/home/feda/MIPT/RadioPhotonic_Subserface_radar/Generator_PCB/Python_GUI/.venv
#export VIRTUAL_ENV=/home/feda/MIPT/RadioPhotonic_Subserface_radar/Generator_PCB/Python_GUI/.venv
export VIRTUAL_ENV="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
fi
_OLD_VIRTUAL_PATH="$PATH"