building arbitrary files with distutils?

Wilbert Berendsen wbsoft at xs4all.nl
Mon Mar 10 16:26:52 EDT 2008


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 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 connect such commands 
to the build step....

w best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
        -- Mahatma Gandi



More information about the Python-list mailing list