On Sat, Jan 30, 2010 at 08:14:07AM +0530, Umang wrote:
> How do you structure your folders?

Here is an example of what we have been happily doing for a decade
http://hg.logilab.org/pylint/file/5b9f4a9524ab

pylint/
  config.py
  gui.py
  lint.py
  [...]
  bin/
     pylint (executable that does `from pylint import config`)
  
There is only one level: it is simple.

Just set PYTHONPATH to get it working without installing anything on
your system -> works both for development purposes and for locally
using it (i.e, since it depends on logilab/common, put them
side-by-side).

`python setup.py install` works as expected, but is not required to try
out the software.

Debian packaging will move files around as it wishes anyway.

PYTHONPATH is zen: import this and stay away from setuptools !

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to