Re: building arbitrary files with distutils?

2008-03-10 Thread Martin v. Löwis
> How can I add such commands (including timestamp checking) to a setup.py > file, > so that it runs when I call 'python setup.py build' ? I can write python > functions to perform those command, and I found timestamp checking functions > in distutils.dep_util, but just can't find the way to co

building arbitrary files with distutils?

2008-03-10 Thread Wilbert Berendsen
Hi all, I want to convert a python project from Makefiles to distutils. Currently the makefiles perform some tasks like building a PNG icon from a SVN file etc. How can I add such commands (including timestamp checking) to a setup.py file, so that it runs when I call 'python setup.py build' ? I