[MATRIX-SIG] compiling NumPy for Windows

David Ascher da@skivs.ski.org
Fri, 30 Jan 1998 13:19:43 -0800 (PST)


On Fri, 30 Jan 1998, Konrad Hinsen wrote:
> 
> Fine, but some of my other modules don't, and I'd like to know why
> and what to do about it. My MMTK modules seem to have the same
> problem that Perry mentioned: Initialization of PyObject_HEAD_INIT()
> with a constant address is not accepted by the compiler. On the
> other hand, my netCDF module uses exactly the same method, and
> it works. Such problems don't increase my confidence in easy
> Windows installation...

Paul gave the fix for that, in all likelihood.

As far as easy windows installation, I do believe that the right solution
there is to ship binaries -- the WISE installer makes for a very simple
package to install from the user's perspective, and a lot of users
shouldn't need to own the compiler suite.

Here's a challenge:  Write a PythonCOM program which when sent a .tar.gz
file via the web, opens DevStudio, creates a workspace, a package, adds
all the appropriate files, runs a compile, opens WISE, creates an
installer, compiles it, and ships back to the person who provided the
.tar.gz a simple executable.  Or maybe not. =)

--david


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________