[Python-Dev] PEP 405 (built-in virtualenv) status

Kristján Valur Jónsson kristjan at ccpgames.com
Mon Mar 19 10:26:30 CET 2012


Hi Carl.
I'm very interested in this work.
At CCP we work heavily with virtual environments.  Except that we don't use virtualenv because it is just a pain in the neck.  We like to be able to run virtual python environments of various types as they arrive checked out of source control repositories, without actually "installing" anything.
For some background, please see:  http://blog.ccpgames.com/kristjan/2010/10/09/using-an-isolated-python-exe/.  It's a rather quick read, actually.

The main issue for us is: How to prevent your local python.exe from reading environment variables and running some global site.py?

There are a number of points raised in the above blog, please take a look at the "Musings" at the end.

Best regards,

Kristján

-----Original Message-----
From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of Carl Meyer
Sent: 15. mars 2012 22:12
To: python-dev
Subject: Re: [Python-Dev] PEP 405 (built-in virtualenv) status

On 03/15/2012 03:02 PM, Lindberg, Van wrote:
> FYI, the location of the tcl/tk libraries does not appear to be set in 
> the virtualenv, even if tkinter is installed and working in the main 
> Python installation. As a result, tk-based apps will not run from a 
> virtualenv.

Thanks for the report! I've added this to the list of open issues in the PEP and I'll look into it.

Carl




More information about the Python-Dev mailing list