Python environment

  Python 2.5.1 Windows 32-bit binary
  Numpy windows binary
  wxPython unicode windows binary
  matplotlib 0.90.1 windows binary
  scipy 0.6.0 windows binary
  py2exe 0.6.6 windows binary

  python: Python by default installs in c:\python25.
  Add C:\Python25;C:\MinGW\bin to your path:
    Start> Control Panel> System> Advanced> Environment Variables> User variables

  python: building a python binary from source with MinGW would take several
  days --- autoconf is not set up to check for Windows API, so it will require
  extensive build system work --- and probably cost a 5 percent performance penalty.

  matplotlib: the matplotlib binary depends on msvcp71.dll which can be found in
  C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx; you can move this file
  to C:\Python25

  matplotlib: from sources
    svn co matplotlib
    modify to remove tk/gtk build targets
    build freetype, zlib and libpng (see below)
    modify so that basedir['win32'] contains:
    comment out the following two lines from
      #if sys.platform == 'win32' and win32_compiler == 'mingw32':
      #    module.libraries.append('gw32c')
    modify matplotlib/lib/matplotlib/mpl-data/matplotlibrc so that:
      backend = 'WxAgg'

  py2exe: py2exe requires a number of patches so that the exe can be renamed
  by the user and so that it can be compiled with mingw.  Also, distutils
  requires modification to remove app.def from the link line by replacing
  "objects.append(def_file)" with "pass" in distutils/

  py2exe: The compile line for py2exe is:
     python build --compiler=mingw32 install

Source code environment

Subversion 1.4.5

  Note: this is only supports svn.  To get svn+ssh you need to download an ssh 
  client and put it on your path.  pagent+plink, with plink renamed ssh and stored
  in the collabnet directory in program files should work.

MSys 1.0.10

Compiler environment

MinGW compiler:

  MinGW runtime 3.13
  win32api 3.10
  binutils 2.17.50 20060824-1
  gcc 4.2.1 dw2-2 core, g++, gfortran
  gmake 3.81

  Note: build a c:\MinGW directory before extracting.
  Note: need to rename the ###-dw2.exe files to ###.exe for gcc, g++ and gfortran.
  Note: need to rename mingw-make.exe to make.exe

  Note: mingw links against msvcrt but python links against msvcr71.  See
  the PyGame wiki  This may or
  may not be necessary, depending wether msvcrt and msvcr71 conflict.

Executable packer: upx 3.01 windows binary

Dependency walker:

  Note: helpful for debugging deployment problems; install into mingw/bin directory.

Support Libraries

Freetype 2.3.5
        tar xzf freetype-2.3.5.tar.gz
        cd freetype-2.3.5
        ./configure --enable-static --disable-shared
        make; make install

  Zlib 1.2.3
        tar xzf zlib-1.2.3.tar.gz
        ./configure; make; make install

  libpng 1.2.20  (find version with configure script)
	tar xzf libpng-1.2.20.tar.gz
        ./configure --enable-static --disable-shared CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
        make; make install