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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try SCons
Or are you looking for something just to build python projects?
回答2:
The following look good, but I haven't used them (yet):
- Paver
- waf
- doIt
Paver looks especially promising.
回答3:
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.
回答4:
The Python wiki maintains a page on python build and deployment tools.
回答5:
There is also Fabric but it's specially geared towards deployment rather than generic building.