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

Open
vbabiy opened this Issue Mar 14, 2011 · 7 comments

Comments

Projects
None yet
6 participants
Contributor

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:

#!bash
./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.


Contributor

vbabiy commented Mar 14, 2011

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

[1][1]



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

site-packages


Original Comment By: nicolaslara

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

bump

Contributor

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.

Contributor

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

https://github.com/jsvine/envplus

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