1. Tetsuya Morimoto
  2. virtualenvwrapper


bwan...@yahoo.com  committed a9fc1a2

update shell function virtualenvwrapper_get_site_packages_dir
* let MSYS users use lssitepackages & cdsitepackages

  • Participants
  • Parent commits b0691ce
  • Branches default

Comments (0)

Files changed (1)

File virtualenvwrapper.sh

View file
  • Ignore whitespace
 # 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.