Re: [Boa Constr] running applications
Status: Beta
Brought to you by:
riaan
From: Yuppie <sc...@we...> - 2002-08-03 17:15:11
|
Hi Riaan! Riaan Booysen wrote: > Does it just temporarily change the Python Path and Environment of > the debugged process? You may select different settings for each project/file. Debugging a file, WingIDE uses temporarily these settings. > Why would you need to have a different python path when you are > debugging than the one you use when running normally? I don't need that either. That's just the way WingIDE does it. I'd like to use the same settings for debugging and running. > It's not there because I have never needed this. > Possibly Shane did not need it either. > > Is it really that useful? Here's my use case: I want to use the IDE for Zope product development. Running tests against different Zope versions, I need to change a lot of environment settings: - pythonInterpreter - Zope path - environment variables like INSTANCE_HOME To change these settings, I have to change - pythonInterpreterPath in Preferences - sys.path in my python script - os.environ in my python script But these settings don't belong in the code. They are different for different workstations and testing scenarios. I'm dreaming of a feature that allows me working this way: 1. setting pythonInterpreter, paths, environment variables 2. run tests / debug using these settings 3. saving settings in a file like zope251.env 4. modifying my settings, run tests / debug again 5. saving settings in a file like zope260.env 6. working on my code 7. loading zope251.env 8. ... But I don't have much experience in python product development. So perhaps I should do it in a totally different way? Thanks again. And thanks to Ris for his reply. Yuppie |