[Distutils] early preview of pythonv

Carl Meyer carl at oddbird.net
Thu Mar 17 01:01:09 CET 2011


Hi Vinay,

I've certainly considered using PYTHONHOME. I know of at least two problems with the approach:

1 Having a dedicated virtualenv binary of some kind is more amenable to installing scripts with a shebang line that ensures they always run in the virtualenv.

2. Unless we change the semantics of PYTHONHOME, it would require the same kind of stdlib bootstrapping hacks that virtualenv currently uses. Avoiding this is a design goal.

Carl

Sent from my Android phone

----- Reply message -----
From: "Vinay Sajip" <vinay_sajip at yahoo.co.uk>
Date: Wed, Mar 16, 2011 9:59 am
Subject: [Distutils] early preview of pythonv
To: <Distutils-Sig at Python.Org>

Carl Meyer <carl <at> oddbird.net> writes:

> This is an early prototype and will certainly require refinement (not to
> mention most likely a PEP, at some point). Please try it out and let me
> know if it works for you!

I haven't tried it yet, but I'm curious: was an approach using PYTHONHOME
considered? Or is PYTHONHOME off-limits for an application like this?

Regards,

Vinay Sajip

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG at python.org
http://mail.python.org/mailman/listinfo/distutils-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20110316/1a694109/attachment.html>


More information about the Distutils-SIG mailing list