Are there any good build frameworks written in Pyt

2019-03-09 12:10发布

问题:

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.