Virtualenv enhancements: software upgrades to optimize virtual environments for Python. Improvements focused on performance, robustness and stability. Users can enjoy faster and more customizable virtual environment setups.
To create a new environment, run the mkvirtualenv command followed by the desired name. After creating an environment, run the workon command again, and the new environment should now appear on the list. Run the workon command followed by the environment name to activate the environment.
Virtualenvwrapper also includes path management tools that make it easy to share installed packages that are not within the system site-packages directory. Instead of creating a symlink, a directory can be added to the PYTHONPATH by including it in the .pth file located inside the site-packages and running the add2virtualenv command.
To make use of this feature, first, check out the source for a large project like Django. Then, use the add2virtualenv command followed by the path to the source directory. Running the add2virtualenv command without arguments will display usage instructions alongside a list of current "extra" paths.
In summary, virtualenvwrapper simplifies the use of virtualenv and makes environment management easier. Its path management feature makes sharing packages between environments more straightforward, which can save significant time and effort.
Version 1.20: N/A