Python "make" like tools (was Re: [ANN] DoIt 0.1.0 Released (build tool))
Paul Boddie
paul at boddie.org.uk
Mon Apr 21 11:17:04 EDT 2008
On 21 Apr, 16:51, "Ville M. Vainio" <vivai... at gmail.com> wrote:
>
> Wouldn't it be more convenient to provide syntax like this:
>
> @task("create_build_folder")
> @depend("dep1 some_other_dep")
> def buildf():
> buildFolder = jsPath + "build"
> create_folder(buildFolder)
I'd want to make the "grunt work" a bit easier before breaking out the
decorators.
> I find the doit syntax a bit cumbersome, especially as you can avoid
> 'args' by just returning a lamda in 'action'.
>
> I've looked around a bit for python "make" replacement, but there does
> not seem to be a simple & straightforward solution around (read -
> straight-python syntax, one .py file installation, friendly license).
Have you surveyed the landscape...?
http://wiki.python.org/moin/ConfigurationAndBuildTools
I'm inclined to think that Waf would probably meet your requirements:
http://code.google.com/p/waf/
Paul
More information about the Python-list
mailing list