Skip to content

Commit 6377db3

Browse files
author
bwanamarko
committed
update shell function virtualenvwrapper_get_site_packages_dir
* let MSYS users use lssitepackages & cdsitepackages * replace $VIRTUAL_ENV/bin with $VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR
1 parent 3441f91 commit 6377db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ function virtualenvwrapper_get_python_version {
609609

610610
# Prints the path to the site-packages directory for the current environment.
611611
function virtualenvwrapper_get_site_packages_dir {
612-
"$VIRTUAL_ENV/bin/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
612+
"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
613613
}
614614

615615
# Path management for packages outside of the virtual env.

0 commit comments

Comments
 (0)