Summary
In this chapter, we looked at one of the most fundamental problems that any non-trivial Python application faces: library dependency management. Thankfully, the Python ecosystem has developed the widely adopted virtualenv
tool for solving the most common subset of dependency problems that developers may encounter.
Additionally, we looked at a tool, virtualenvwrapper
, that abstracted away some of the most common operations that one would perform with virtualenv
. While we listed some of the functionalities that this package provided, the list of things that virtualenvwrapper
can do is much more extensive. We only presented the very basics here, but more in-depth learning about what this tool can do is indispensable if you work with Python virtual environments all day long.