On 4/11/2007 6:25 PM, Don Dwiggins wrote: > I'm using PyInstaller as part of an automated build of a system of > applications. I'd like to put code in the .spec file that would check > the dates on the source and target files, and skip the build if the > target is newer.
I'm not sure of what you consider being "source" and "target", but PyInstaller already does this for you. Try running it twice in a row, and you'll see it does nothing. If I put this code at the beginning of the file, and > use sys.exit() to skip out, would that work? If not, is there another way? Yes, but it is sufficient not to call any function (COLLECT, EXE, etc.) if you wish do nothing. -- Giovanni Bajo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
