[PyKDE] optimizing a sip configure.py
sole at esrf.fr
sole at esrf.fr
Wed Dec 20 00:34:39 GMT 2006
Hi,
Quoting Patrick Stinson <patrickkidd.lists at gmail.com>:
> Is there any way to set up a configure.py to only generate the C++
> sources for sip files that have changed? I have added the C++ source
> files to an xcode project for static linking and running configure.py
> overwrites all of the C++ files every time, so I have to recompile the
> whole python module even if I haven't editted anything. (I am
> %Include'ing each sip class def from the main module sip file.)
>
> thanks
>
Please take a look at Gerard Vermeulen's configure.py (PyQwt package).
If I'm not mistaken, he implements a function named "lazy_copy_file" that does
exactly what you want.
Greetings,
Armando
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the PyQt
mailing list