Commits

bwan...@yahoo.com  committed a9fc1a2

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

  • Participants
  • Parent commits b0691ce

Comments (0)

Files changed (1)

File virtualenvwrapper.sh

 
 # Prints the path to the site-packages directory for the current environment.
 function virtualenvwrapper_get_site_packages_dir {
-    "$VIRTUAL_ENV/bin/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
+    "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
 }
 
 # Path management for packages outside of the virtual env.