[SciPy-dev] Buildout for Pydocweb

Pauli Virtanen pav@iki...
Sat Dec 19 06:52:34 CST 2009


Hi,

ke, 2009-12-16 kello 19:01 +0530, Madhusudan C.S kirjoitti:
> 2009/12/16 Madhusudan C.S <madhusudancs@gmail.com>
>         Hi Pauli, Stefan and others,
>           I thought of working on pydocweb during SciPy.in 2009
>         Sprints. But even before I started going through the code
>         of pydocweb, I felt pydocweb lacks a build system. So I
>         sat for half a day and have integrated buildout[0].
>
>           Buildout provides an environment to build, test and
>         deploy apps. Recently many, many django apps have
>         started using buildout. It is a nice way to maintain
>         our app and requires less time for maintaining. So if you
>         are interested in using buildout for pydocweb, I will be
>         happy to mail you my patches for review.
>
>         [0] - http://www.buildout.org/
>
> Sorry for not sending the patches in my previous mail,
> I created a bzr branch on launchpad with my code for
> buildout at [1]. Please take a look.

Thanks for spending time on this!

Some comments:

Pydocweb is not yet really at the stage at which it's a reusable Django
application. Some more reorganization needs to be done before it will
actually work in a buildout / installed:

- also install the pydoc-tool.py script
- same for the database migration scripts
- some of the templates should be moved inside docweb/, I believe

Before this is done, having a build system in place is perhaps not so
useful, because a major part of the functionality assumes a certain
project layout, and does not reside only in the app.

Did you check that you can run pydocweb from the buildout?

    ***

Anyway, moving src/ -> pydocweb/ seems to make it work, and preserves
the possibility to run in-place without buildout. Merging, thanks!

-- 
Pauli Virtanen





More information about the SciPy-Dev mailing list