[PyQt] SIP Make install on windows
phil at riverbankcomputing.com
Wed Dec 23 12:10:35 GMT 2009
On Mon, 21 Dec 2009 23:17:10 -0500, F Bourbonnais <bouf10pub at rubico.info>
> 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
> 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!
> * SIP version 4.9.3 compiled with "-p win32-g++"
> * mingw32-make version 3.81
> * Windows XP SP3
> The Makefile (part of):
> @$(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-
> copy /y testconfig.py C:\Python26\Lib\site-packages\testconfig.py
Looks like you have a trailing '\' or '/' on a directory name somewhere.
More information about the PyQt