I need to be able to send some environment variables (locations of certain resources, modifications of the PYTHONPATH, etc) into manage.py. I could see two ways to do this: local variables or through some sort of hook that modifies the state before the actual python process is started.
I've started looking at it, but I'm not familiar enough with how comint works to know how to modify the environment before the process starts. So my request is either to have such a feature or some strong pointers on how to do this myself so I can provide a patch. :)
I need to be able to send some environment variables (locations of certain resources, modifications of the PYTHONPATH, etc) into manage.py. I could see two ways to do this: local variables or through some sort of hook that modifies the state before the actual python process is started.
I've started looking at it, but I'm not familiar enough with how comint works to know how to modify the environment before the process starts. So my request is either to have such a feature or some strong pointers on how to do this myself so I can provide a patch. :)