Re: [Python-Dev] Setting project home path the best way

2012-11-16 Thread Christian Tismer
all the default places python looks. K -Original Message- From: Python-Dev [mailto:python-dev- bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer Sent: 11. nóvember 2012 20:31 To: python-dev@python.org Subject: [Python-Dev] Setting project home path the best way Hi f

Re: [Python-Dev] Setting project home path the best way

2012-11-15 Thread Daniel Holth
; found in all the default places python looks. >> >> K >> >> >>> -----Original Message- >>> From: Python-Dev [mailto:python-dev- >>> bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer >>> Sent: 11. nóvember 2012 2

Re: [Python-Dev] Setting project home path the best way

2012-11-15 Thread Christian Tismer
on looks. > > K > > >> -Original Message- >> From: Python-Dev [mailto:python-dev- >> bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer >> Sent: 11. nóvember 2012 20:31 >> To: python-dev@python.org >> Subject: [Python-Dev] Set

Re: [Python-Dev] Setting project home path the best way

2012-11-15 Thread Kristján Valur Jónsson
mber 2012 20:31 > To: python-dev@python.org > Subject: [Python-Dev] Setting project home path the best way > > Hi friends, > > I have a project that has its root somewhere on my machine. > This project has many folders and contains quite some modules. > > There is a common roo

Re: [Python-Dev] Setting project home path the best way SOLVED

2012-11-12 Thread Christian Tismer
Hi Nick, Holger, this is a crazy fault of mine, see the end below. I wrote: I have a project that has its root somewhere on my machine. This project has many folders and contains quite some modules. There is a common root of the module tree, and I want to use - either absolute imports - relati

Re: [Python-Dev] Setting project home path the best way

2012-11-11 Thread Nick Coghlan
The only way I know how to do it is to have my cwd set to the directory I want on sys.path, then use -m for script execution (using a separate shell session for anything where I want a different working directory). I don't know of any way to handle a varying cwd without manipulating the path direc

[Python-Dev] Setting project home path the best way

2012-11-11 Thread Christian Tismer
Hi friends, I have a project that has its root somewhere on my machine. This project has many folders and contains quite some modules. There is a common root of the module tree, and I want to use - either absolute imports - relative imports with '.' Problem: - I want to run any module inside