Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allow to inherit from other virtualenvs #33

vbabiy opened this Issue Mar 14, 2011 · 7 comments


None yet
6 participants

vbabiy commented Mar 14, 2011

The general idea is to be able to have a new virtualenv inherit from existing VEs in the system. So, for instance, if I have a virtualenv with a set of django tools installed and another with some testing tools you could do:

./virtualenv.py tmp/ --inherit=/home/nicolas/django_ve/,/testing_ve,/ --no-site-packages

and it will create a virtualenv that has those VEs in its path so that you can have reusable stuff installed only once.

I'm attaching a patch that adds the basic functionality. While it might need improvement it currently works.

Let me know what you think.


vbabiy commented Mar 14, 2011

I made a mistake in the description. the line should have been:


./virtualenv.py tmp/ --inherit=/home/nicolas/django_ve/,/testing_ve --no-


Original Comment By: nicolaslara

I think this would be great - especially for bigger packages.



carljm commented Sep 21, 2012

I don't know of anyone who is planning to work on this, and we seem to have lost the OP's patch in the transition from bitbucket to github. Leaving it open as I wouldn't in principle have an objection to a pull request that achieved this (if it didn't have other nasty effects).

michelp commented Sep 25, 2012

I emailed @vbabiy, hopefully he still has the original patch. If so I'm happy to clean it up and make a PR.


carljm commented Sep 25, 2012

@michelp @vbabiy is not the author of the original patch, he's just the one who wrote and ran the script that migrated issues from Bitbucket to Github. The original patch was apparently attached to the bitbucket issue by an anonymous user, and that issue-tracker no longer exists.

Qu4tro commented Aug 18, 2014


It's closely related to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment