[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] optimizing a sip configure.py
From:       sole () esrf ! fr
Date:       2006-12-20 0:34:39
Message-ID: 1166574879.4588851ff3a4f () wwwsec ! esrf ! fr
[Download RAW message or body]

Hi,

Quoting Patrick Stinson <patrickkidd.lists@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/

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic