[Python-Dev] Proposal for virtualenv functionality in Python

Philip Jenvey pjenvey at underboss.org
Fri Feb 19 20:59:20 CET 2010

On Feb 19, 2010, at 11:45 AM, Antoine Pitrou wrote:

> Le Fri, 19 Feb 2010 13:49:23 -0500, Ian Bicking a écrit :
>> * I'd rather ~/env/bin/python be a symlink instead of copying it.
> How about simply adding a --prefix argument to the interpreter. Then 
> virtualenv can create a "python" script that simply adds --prefix and 
> forwards all the arguments to the real python executable.
> Or am I missing something?

It couldn't be a shell script, as they wouldn't work as shebang line interpreters for other python scripts.

Philip Jenvey

More information about the Python-Dev mailing list