Files
MINGW-packages/mingw-w64-python3/2051-set-venv-activate-path-unix.patch
2019-07-20 20:55:15 -04:00

12 lines
370 B
Diff

--- Python-3.7.4/Lib/venv/scripts/common/activate.orig 2019-07-20 19:02:54.072985400 -0400
+++ Python-3.7.4/Lib/venv/scripts/common/activate 2019-07-20 20:10:57.797211100 -0400
@@ -37,7 +37,7 @@
# unset irrelevant variables
deactivate nondestructive
-VIRTUAL_ENV="__VENV_DIR__"
+VIRTUAL_ENV=$(cygpath "__VENV_DIR__")
export VIRTUAL_ENV
_OLD_VIRTUAL_PATH="$PATH"