[Eric] Configuring Python path in Eric

detlev detlev at die-offenbachs.de
Thu Jun 24 17:54:03 BST 2010


On Donnerstag, 24. Juni 2010, michael.rans at nomura.com wrote:
> Hi,
> 
> Thanks for the information. Is there any way to get hold of Project
> Properties in the Debugger Properties, in particular the Project
> Directory? I would like to set the PYTHONPATH relative to the Project
> Directory if possible.

You can set the working directory for the debug run as well. Making PYTHONPATH 
relative to that should solve your situation. If no working directory is set, 
the script is executed in the project directory.

> 
> In addition, is it possible to set the Project Directory as a relative
> path to the .e4p file?

No, the project directory is always the directory containing the .e4p file.

> 
> The reason I ask is that then I can make an Eric project file that
> everyone could use irrespective of the folder structure they have used
> to check out of Subversion.
> 
> Thanks,
> Mike
> 
> 
> 
> This e-mail (including any attachments) is confidential, may contain
> proprietary or privileged information and is intended for the named
> recipient(s) only. Unintended recipients are prohibited from taking action
> on the basis of information in this e-mail and must delete all copies.
> Nomura will not accept responsibility or liability for the accuracy or
> completeness of, or the presence of any virus or disabling code in, this
> e-mail. If verification is sought please request a hard copy. Any reference
> to the terms of executed transactions should be treated as preliminary only
> and subject to formal written confirmation by Nomura. Nomura reserves the
> right to monitor e-mail communications through its networks (in accordance
> with applicable laws). No confidentiality or privilege is waived or lost by
> Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
> a reference to any entity in the Nomura Holdings, Inc. group. Please read
> our Electronic Communications Legal Notice which forms part of this e-mail:
> http://www.Nomura.com/email_disclaimer.htm
> 


-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list