[MERGE] updates for win32 installers from Vista
John Arbash Meinel
john at arbash-meinel.com
Wed Jul 2 17:59:34 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm currently running Vista as my win32 platform, and I needed a couple
of tweaks to the build process to get it to work.
1) Add PYTHON_BUILDFLAGS. I have to run with -c mingw32 (I don't have
visual studio installed, and setup doesn't auto-detect mingw32).
I actually use cygwin, but I installed the mingw extensions to gcc.
This allows me to do:
make PYTHON=/cygdrive/C/Python25/python PYTHON_BUILDFLAGS="-c mingw32"
And have everything build correctly. It is more important when doing
'make installer"'
2) It seems py2exe doesn't recognize MSWSOCK.dll as a system-specific
library, and accidentally bundles it. So I just explicitly blacklist it.
Without doing this you get random exceptions because MSWSOCK.dll is
hard-coded against MSVCRT.dll which on Vista has extra functions.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhrs/YACgkQJdeBCYSNAAMF3wCeNqHWFnR9pXHCiGeEFOZMZ+4r
llQAoJovRHElz8vs1XiMbwUPW8I0uIJw
=JyCw
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup_vista.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080702/7adf2efd/attachment-0001.diff
More information about the bazaar
mailing list