The easiest way to get the dependencies is to install the Enthought Tool Suite . This gives you MinGW, Python, Numpy, Scipy, ipython and matplotlib. If instead you want to do it by component, try the instructions below.
Requirements:
Options:
Alternatively, if you are very brave, you may want to install numpy / scipy from source - see our maybe out of date Building Scipy/Numpy on Windows with Optimized Numerical Libraries for details.
Whether you used ETS or the instructions above, you will next need to get the NIPY code via version control:
You should now be able to follow the instructions in Checking out the latest version, but with the following modifications:
First, for the python setup.py steps, you will need to add the --compiler=mingw32 flag, like this:
python setup.py build_ext --inplace --compiler=mingw32
To build a windows installer, use:
python setup.py bdist_wininst
commands use the ! escape, like this, from the ipython prompt:
!python setup.py build_ext --inplace --compiler=mingw32