virtualenvwrapper

Enhancements to virtualenv
Download

virtualenvwrapper Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Doug Hellmann
  • Publisher web site:
  • http://www.doughellmann.com

virtualenvwrapper Tags


virtualenvwrapper Description

Enhancements to virtualenv virtualenvwrapper is a Python module that acts as wrapper around virtualenv.Quick Setup 1. Add a line like export WORKON_HOME=$HOME/.virtualenvs to your .bashrc.2. Add a line like source /path/to/this/file/virtualenvwrapper_bashrc to your .bashrc.3. Run: source ~/.bashrc4. Run: workon5. A list of environments, empty, is printed.6. Run: mkvirtualenv temp7. Run: workon8. This time, the temp environment is included.9. Run: workon temp10. The virtual environment is activated.Path ManagementSometimes it is desirable to share installed packages that are not in the system site-pacakges directory and which you do not want to install in each virtualenv. In this case, you could symlink the source into the environment site-packages directory, but it is also easy to add extra directories to the PYTHONPATH by including them in a .pth file inside site-packages using add2virtualenv.1. Check out the source for a big project, such as Django.2. Run: add2virtualenv path_to_source.3. Run: add2virtualenv.4. A usage message and list of current "extra" paths is printed. Requirements: · Python What's New in This Release: · Merged in changes to cdvirtualenv from wam and added tests and docs. · Merged in changes to make error messages go to stderr, also provided by wam.


virtualenvwrapper Related Software