有没有用Python编写的好的构建框架?

时间:2023-01-24 17:16:05

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?

我从NAnt切换到使用Python编写构建自动化脚本。我很好奇是否有任何值得使用的构建框架类似于Make,Ant和NAnt,而是基于Python。例如,Ruby有Rake。那Python怎么样?

5 个解决方案

#1


Try SCons

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

或者你是否正在寻找建立python项目的东西?

#2


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

以下看起来不错,但我还没有使用它们(还):

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

我的快速通过:SCons非常成熟并且也适用于其他语言(es C ++)Waf非常类似于ant / maven,所以如果你习惯了ant / maven,你会更喜欢它

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

Paver非常以pythonic为导向,如果你不知道如何开始,它似乎是一个很好的选择。

#4


The Python wiki maintains a page on python build and deployment tools.

Python维基维护着一个关于python构建和部署工具的页面。

#5


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

还有Fabric,但它专门用于部署而不是通用建筑。

#1


Try SCons

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

或者你是否正在寻找建立python项目的东西?

#2


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

以下看起来不错,但我还没有使用它们(还):

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

我的快速通过:SCons非常成熟并且也适用于其他语言(es C ++)Waf非常类似于ant / maven,所以如果你习惯了ant / maven,你会更喜欢它

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

Paver非常以pythonic为导向,如果你不知道如何开始,它似乎是一个很好的选择。

#4


The Python wiki maintains a page on python build and deployment tools.

Python维基维护着一个关于python构建和部署工具的页面。

#5


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

还有Fabric,但它专门用于部署而不是通用建筑。