[Python-ideas] PEP for Python folder structure

Nick Coghlan ncoghlan at gmail.com
Wed May 30 13:48:39 CEST 2012


On Wed, May 30, 2012 at 9:01 PM, M.-A. Lemburg <mal at egenix.com> wrote:
> I don't think a standard project dir layout is really needed. Helping new
> package authors finding the right structure for their project does
> help, though.

The basic problem is that it's a matter of "it depends what you're
building and whether or not there are any other constraints on your
layout". Kenneth Reitz has a decent guide that he posted recently
([1]), but see the comments below the post for some useful caveats and
discussion.

Ultimately though, providing a place to provide opinionated advice on
exactly this kind of question is why the Hitchhiker's Guide to Python
[2] was created.

[1] http://kennethreitz.com/repository-structure-and-python.html
[2] http://docs.python-guide.org/en/latest/index.html

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list