Python environment
==================

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

  http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi
  http://sourceforge.net/project/downloading.php?group_id=1369&use_mirror=easynews&filename=numpy-1.0.3.1.win32-py2.5.exe&69031144
  http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.4.2-py25.exe
  http://downloads.sourceforge.net/matplotlib/matplotlib-0.90.1.win32-py2.5.exe?modtime=1180793555&big_mirror=0
  http://prdownloads.sourceforge.net/scipy/scipy-0.6.0.win32-py2.5.exe?download
  http://downloads.sourceforge.net/py2exe/py2exe-0.6.6.win32-py2.5.exe?modtime=1167542163&big_mirror=0

  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 https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlib
    modify setup.py to remove tk/gtk build targets
    build freetype, zlib and libpng (see below)
    modify setupext.py so that basedir['win32'] contains:
      ['c:/msys/1.0/local/include/freetype2','c:/msys/1.0/local']
    comment out the following two lines from setupext.py:
      #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/cygwinccompiler.py.

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


Source code environment
=======================

Subversion 1.4.5

  http://downloads.open.collab.net/collabnet-subversion.html

  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: http://www.mingw.org/

  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

  http://downloads.sourceforge.net/mingw/mingw-runtime-3.13.tar.gz?modtime=1186132641&big_mirror=1
  http://downloads.sourceforge.net/mingw/w32api-3.10.tar.gz?modtime=1186139469&big_mirror=1
  http://downloads.sourceforge.net/mingw/binutils-2.17.50-20060824-1.tar.gz?modtime=1156941940&big_mirror=1
  http://downloads.sourceforge.net/mingw/gcc-core-4.2.1-dw2-2.tar.gz?modtime=1187064132&big_mirror=1
  http://downloads.sourceforge.net/mingw/gcc-g++-4.2.1-dw2-2.tar.gz?modtime=1187064138&big_mirror=1
  http://downloads.sourceforge.net/mingw/gcc-gfortran-4.2.1-dw2-2.tar.gz?modtime=1187064140&big_mirror=1
  http://downloads.sourceforge.net/mingw/mingw32-make-3.81-2.tar.gz?modtime=1174578220&big_mirror=1

  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 http://www.pygame.org/wiki/PreparingMingGW.  This may or
  may not be necessary, depending wether msvcrt and msvcr71 conflict.

Executable packer: upx 3.01 windows binary

  http://upx.sourceforge.net/download/upx301w.zip

Dependency walker:

  http://www.dependencywalker.com/

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


Support Libraries
=================

Freetype 2.3.5
	http://sourceforge.net/project/showfiles.php?group_id=3157
        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
	http://www.zlib.net/
        tar xzf zlib-1.2.3.tar.gz
        ./configure; make; make install

  libpng 1.2.20
	http://www.libpng.org/  (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