On Mon, 21 Dec 2009 23:17:10 -0500, F Bourbonnais <[email protected]> wrote: > I'm trying to package a Python binding using SIP. All is working fine on > GNU/Linux but on Windows, the "mingw32-make install" doesn't copy files if > the > destination directory already exists. > > The problem seems to be in the generated Makefile: > > * Each "copy /y ..." lines placed after a "@if not exit" are skipped. > * But if I put a blank line after the @if line, it works! > > Context: > > * SIP version 4.9.3 compiled with "-p win32-g++" > * mingw32-make version 3.81 > * Windows XP SP3 > > > The Makefile (part of): > """ > install: > @$(MAKE) -C build install > @if not exist C:\Python26\sip\ mkdir C:\Python26\sip\ > copy /y test.sip C:\Python26\sip\test.sip > @if not exist C:\Python26\Lib\site-packages\ mkdir C:\Python26\Lib\site- > packages\ > copy /y testconfig.py C:\Python26\Lib\site-packages\testconfig.py > """
Looks like you have a trailing '\' or '/' on a directory name somewhere. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
