Skip to content

building_scipy_superpack

Mike Toews edited this page Jun 16, 2018 · 1 revision

Building Scipy superpack installers on Windows

See: https://github.com/numpy/numpy/blob/master/doc/HOWTO_RELEASE.rst.txt#wine for a list of dependencies.

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: https://sourceforge.net/projects/mingw/files/Installer/ - but I suggest you don't use it.

I then tried downloading mingw-get from here: https://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

Setup

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 the installers

Building for Python 3.3:

paver bdist_superpack -p 3.3
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy