-
Notifications
You must be signed in to change notification settings - Fork 0
building_scipy_superpack
See: https://github.com/numpy/numpy/blob/master/doc/HOWTO_RELEASE.rst.txt#wine for a list of dependencies.
See https://github.com/certik/numpy-vendor for a setup that worked on Wine.
MakeNsis is part of the NSIS package: http://nsis.sourceforge.net/Download
The current MinGW mingw-get-setup.exe
installer gave me build errors with an
incorrect address in a .data
segment, which compiling scipy. I found the
GUI install here: http://sourceforge.net/projects/mingw/files/Installer/ - but I
suggest you don't use it.
I then tried downloading mingw-get
from here:
http://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta-20131004-1/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz/download
I unpacked into c:\mingw
with 7-zip, so I now had a file
c:\mingw\bin\mingw-get
. Then:
mingw-get install gcc-v3-c++ mingw-get install gcc-v3-fortran
as per instructions here.
My first compile I ran into an odd runtime error, discussed in this stackoverflow post. I followed the instructions there:
mingw-get upgrade "mingwrt=3.18.*"
I installed numpy from sourceforge binary installers.
Installed Python 2.7, 3.3, 3.4 from Python.org installers.
Copied binaries in numpy/vendor
into expected path:
mkdir -p c:\local\lib\yop cp -r Z:\numpy-vendor\binaries\* C:\local\lib\yop
Ran C:\Python27\python.exe get-pip.py
on get-pip.py
pip installer, for
all three versions of Python.
I had to do:
c:\Python27\Scripts\pip install tempita
for all versions of Python I was building. Then:
pip install paver pip install virtualenv
Put Python 2.7, NSIS, MinGW on path, something like (for powershell):
$env:PATH=$env:PATH + ";C:\Python27;c:\Python27\Scripts;C:\Program Files (x86)\NSIS;c:\Mingw\bin"
Building for Python 3.3:
paver bdist_superpack -p 3.3