views:

510

answers:

4

I switched from NAnt to using Python to write build automation scripts. I am curious if whether any build frameworks worth using that are similar to Make, Ant, and NAnt, but, instead, are Python-based. For example, Ruby has Rake. What about Python?

+17  A: 

Try SCons

Or are you looking for something just to build python projects?

Not necessarily. I want something that can also build any non-Python projects. NAnt, Ant, and Rake have that versatility and are not limited to their own language domain.
Ray Vega
I think you should give scons a try, then.
I agree... you have to spend a little bit of time with scons, it's more powerful than it seems at first glance. It works from the simplest description of what you want, and where the source is, and will do the right thing.
Jim Carroll
I use SCons in a large production project and have found it to be very customizable and useful. Highly recommended.
mch
I use SCons, but its jus so slow when you get to a bug project. Seriously, look at something like WAF, it's much much quicker than SCons, if a little-less mature.
jkp
+4  A: 

The following look good, but I haven't used them (yet):

Paver looks especially promising.

Remy Blank
A: 

There is also Fabric but it's specially geared towards deployment rather than generic building.

zgoda
A: 

My Rapid Throughts: SCons is quite mature and oriented also to other languages (es C++) Waf is very simlar to ant/maven, so you will prefer it if you are used to ant/maven

Paver is very pythonic oriented, and seems a good option if you do not know how to start.

daitangio