Adrian von Bidder wrote:
> My mistake.  I moved the environment and didn't realise that the problem 
> I've been having stems from having the old absolute path inside 
> bin/activate and not from not having PYTHONPATH.
> 
> So the proper solution [for me] would be to look at $0 and pwd and figure 
> out the root dir of the virtualenv from there.
> 
> (I like to be able to move/copy around the virtualenv to organize my 
> projects.)

The latest virtualenv (1.3) has a "--relocatable" option that does
pretty much what you want.  I've merged it in my Bazaar repo, but
haven't uploaded packages for it yet.  If you're impatient, you can pull
it from here:

http://bzr.licquia.org/virtualenv/debian






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to