I have a project under python and have a setup.py script that build my egg and .exe file for each realease. I am used to use ant script, where I can define targets easily.
I may miss something, but I cannot find any documentation that explains how to create such commands with distutils. (Well, I found this actually but this is quite short as a documentation :s)
以下是我想实现自动化的一些例子:
- create packages for various platforms (exe, pypi, linux, source)
- build documentation (pdf, html, rst)
- zip my samples, move them to a distant location
- upload new package to pypi
- run tests
- . . .
但最重要的是,我想只用一个命令来完成它, 就像我用蚂蚁结构来完成它一样。
So how do you usually do such tasks with your python projects? Though I think it would not be relevant to add my setup.py here, I can do it if needed.
非常感谢!