QA/Execution/Web Testing/Automation/Virtual Environments

From MozillaWiki
Jump to: navigation, search

Virtual environments are isolated Python environments. They allow freedom to install specific versions of dependencies without affecting the global site-packages. They also make it easy to throw away a broken environment and start again. We recommend using virtualenvwrapper for managing your virtual environments. See the documentation for a guide to installation and the command reference. There's also a useful introduction to virtualenv and virtualenvwrapper in this blog post.