[Patches] [ python-Patches-1088716 ] msi.py patch to build mingw
library
SourceForge.net
noreply at sourceforge.net
Wed Dec 22 21:58:05 CET 2004
Patches item #1088716, was opened at 2004-12-20 23:01
Message generated for change (Comment added) made by pmoore
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1088716&group_id=5470
Category: Build
Group: Python 2.4
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Paul Moore (pmoore)
Assigned to: Martin v. Löwis (loewis)
Summary: msi.py patch to build mingw library
Initial Comment:
The attached patch updates the MSI build process to
build a mingw-compatible libpythonXX.a and install it
in the Python "libs" directory.
The additional step requires 2 executables, nm and
dlltool, to be available on PATH. These are part of the
binutils package of either mingw or cygwin. The build
should warn, and skip the inclusion of libpythonXX.a,
if the tools are not available.
Note: I do not have a Python build environment (no
Visual Studio .NET) and so cannot test this patch fully
- the msi.py script depends on VS.NET registry keys
that aren't available on my PC. I've checked that
libpythonXX.a is built correctly, but I can't ensure
that the MSI file gets built properly :-( Assistance in
testing this would be appreciated...
----------------------------------------------------------------------
>Comment By: Paul Moore (pmoore)
Date: 2004-12-22 20:58
Message:
Logged In: YES
user_id=113328
I can confirm that with this package, and no other Python
extensions installed, I can build extensions with mingw, out
of the box.
Looks great - thanks!
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2004-12-22 14:09
Message:
Logged In: YES
user_id=21627
Thanks for the patch, committed as msi.py 1.20 and 1.16.2.4.
I built a package at
http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-
2.4.12774.msi
Please try this out, and confirm that you can, with this
package, build extensions with cygwin, without further
changes.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1088716&group_id=5470
More information about the Patches
mailing list