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)
Here are some examples of what I would like to automate:
- 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
- . . .
But most of all, I would like to be able to do it in only one command, just like I would do it with a ant build.
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.
Thank you very much !
Have you looked at the Ant Python tasks?