Reputation: 1661
I develop websites using python with django framework, I like to get things done fast. I used to use virtual machine or in the local host machine, recently went to vagrant, I am not sure if there is other technologies to help keep the process faster? I could use some tips and pointers.
Upvotes: 22
Views: 8175
Reputation: 1395
It isolates the Python interpreter and the Python dependencies on one machine so you can install multiple Python projects alongside each other with their own dependencies. But for the rest of the machine the virtualenv doesn't do anything:
you still have global dependencies / packages that are installed using your Mac OS X / Linux package manager and these are shared between the virtualenvs.
often used to programmatically configure virtual machines
specifies the whole machine: it allows you to specify the Linux distribution, packages to be installed and actions to be taken to install the project.
So if you want to launch a Vagrant box with multiple Python projects on that machine you'd still use virtualenv to keep the Python dependencies separate.
Upvotes: 25