On Mon, Jul 7, 2008 at 10:10 AM, Simon Willison <[EMAIL PROTECTED]> wrote: > > On Jul 7, 3:00 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: >> I've just uploaded a patch to #6017 that will hopefully address this >> issue. The patch 'django-admin-tests.diff' contains a prototype test >> framework for django-admin and manage.py scripts. It works by spawning >> a child process using popen3, setting up the test environment using a >> bash script and checking the contents of stdout an stderr as a test >> condition. > > The bash script appears to be used purely to set the environment > variables. Is there any reason you can't just directly assign to > os.environ from within Python code to achieve this? Eliminating the > bash script would make it much easier to achieve Windows compatibility.
+1 That also would help to be compatible with other Python VMs, which don't recognize the PYTHONPATH environment variable (IronPython uses IRONPYTHONPATH; Jython uses a Java VM property) -- Leo Soto M. http://blog.leosoto.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---