[Eric] question about Run Script->Environment

Detlev Offenbach detlev at die-offenbachs.de
Fri Jan 26 18:40:37 GMT 2007


On Friday 26 January 2007 17:48, Niko Wilbert wrote:
> Hi,
>
> I would like to add the base path of my project to the pythonpath, so
> that a file in a subpath can import from other subpathes. So I tried
> to put something like PYTHONPATH=:/test/
> in the "Environment" field of the "Run Script" dialog, but none of the
> combinations I tried seem to work. Can anyone tell me what I do wrong?
> Many thanks!
>
> Sorry if this is a stupid question. I am quite new to Python and have
> been using PyDev, but now I want to give Eric a shot.
>
> Best regards,
>
> Niko Wilbert
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

There should not be the need to fiddle with the PYTHONPATH in order to have 
your script running.

With the "Environment" field you are giving additional entries for the 
environment of the program to run or you are overwriting already defined 
environment variables. It is not possible to use it to ammend an environment 
variable. Is there a common need to do that?

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list