Re: project root or its parent in pythonpath?

2012-01-06 Thread Waldek Herka
Hi, how about creating a proper package and installing it as an egg? That would be a proper way I think. See this tutorial: http://peak.telecommunity.com/DevCenter/setuptools It is only a matter of creating the setup.py with the list of the stuff you need to package, then you run(from the projec

Re: project root or its parent in pythonpath?

2012-01-05 Thread d.w. harks
On Thursday, January 05, 2012 2:21:30 PM, Demetrio Girardi wrote: I have two apps which are inter-dependent and import stuff from one another; if I decide to go for the project.app route, is there a way to import things without a reference to the project name? otherwise the imports would have

project root or its parent in pythonpath?

2012-01-05 Thread Demetrio Girardi
Upon reading the django tutorial, I was under the impression that you should have the project root folder in your pythonpath, so that each app is available for import in modules, e.g. you can do import myapp However, my IDE seems to prefer putting its root in the pythonpath, so you'd have to