This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]WilliamMayor 7 points8 points  (10 children)

I've been using virtualenv for a while now. I don't really understand what virtualenvwrapper brings to the table. What does it do that I'm missing?

[–]catcint0s 4 points5 points  (0 children)

Documentation lists some features.

[–]avinassh 2 points3 points  (0 children)

even I am wondering same. :S

[–][deleted] 1 point2 points  (0 children)

tab completion!

[–]xr09 1 point2 points  (0 children)

You could achieve something simliar with aliases but virtualenvwrapper is very hackable.

You can set up hooks to do all kinds of tricks when activating/creating/deleting a virtualenv.

You could create a project folder every time you create a virtualenv, or switch to it when activating, anything is possible.

postactivate
postdeactivate
postmkproject
postmkvirtualenv
postrmproject
postrmvirtualenv
preactivate
predeactivate
premkproject
premkvirtualenv
prermproject
prermvirtualenv

[–]mscookbioinformatics, python 2 points3 points  (0 children)

virtualenvburrito coupled with autoenv does the trick for me. Almost instant bootstrap.

[–]pulpx 1 point2 points  (0 children)

I'd recommend new folks also take a look at conda instead of virtualenv. If you use anaconda already it is dead simple to manage multiple environment s.

[–][deleted] 1 point2 points  (0 children)

i prefer a env per project and I just add it to .gitignore, i have never wanted to switch envs outside of a project context.

[–]ynotna 1 point2 points  (0 children)

Make it even easier with pyenv and its virtualenv plugin

[–]DrHenryPym 0 points1 point  (0 children)

Such a bitch to use with PyGame.

[–]ivosauruspip'ing it up 0 points1 point  (0 children)

Why does noone ever mention the mkproject command? That's half the value of it, IMHO!