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?
Try SCons
Or are you looking for something just to build python projects?
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.
The Python wiki maintains a page on python build and deployment tools.
There is also Fabric but it's specially geared towards deployment rather than generic building.
来源:https://stackoverflow.com/questions/542289/are-there-any-good-build-frameworks-written-in-python