1.9.3 is a bugfix-only release to give us a numpy version that works on Python 3.5.
Python 3.5 is built with Microsoft Visual C++ 14.0 (MSVC++ 2015) see these two blog posts by the Python Windows maintainer, Steve Dower:
from pprint import pprint | |
import scipy.linalg as spl | |
def get_routine(routine_name, type='blas'): | |
routines = getattr(spl, '_f' + type, None) | |
if routines is None: | |
routines = getattr(spl, type, None) | |
return getattr(routines, routine_name, 'missing') |
# Checkin from SVN - using a local copy I had to hand | |
cat > authors.txt << EOF | |
mcc = Michael Castelle <mcc@uchicago.edu> | |
jdh2358 = John Hunter <jdh2358@gmail.com> | |
michael.castelle = Michael Castelle <mcc@uchicago.edu> | |
jarrod.millman = Jarrod Millman <jarrod.millman@gmail.com> | |
EOF | |
git svn clone --authors-file=authors.txt file:///home/mb312/backups/nipy-svn/ni/pbrain/trunk pbrain-svn | |
# commit list from git log --pretty="%h" | |
# 51eacd2 |
#!/usr/bin/env python | |
''' Tiny script to do perl -p -i -e -type replace on text in files ''' | |
import sys | |
import re | |
def perl_dash_pie(in_exp, out_str, filename): | |
in_reg = re.compile(in_exp) | |
in_txt = open(filename, 'rt').read(-1) |
1.9.3 is a bugfix-only release to give us a numpy version that works on Python 3.5.
Python 3.5 is built with Microsoft Visual C++ 14.0 (MSVC++ 2015) see these two blog posts by the Python Windows maintainer, Steve Dower:
# An install file for ATLAS SSE2-only build on 64-bit Windows | |
# | |
# Must be unix line endings | |
# In vim - set ff=unix | |
# Turn off CPU throttling | |
# Control panel, Hardware and sound, Power options, Select a power plan, Show | |
# additional plans, High perfornamce | |
win_home="/cygdrive/c/Users/mb312" | |
downloads="${win_home}/Downloads" | |
code_home="/cygdrive/c/code" |
import os | |
from os.path import join as pjoin, isdir | |
import sys | |
import shutil | |
from subprocess import call | |
input_dir = '/Users/mb312/dev_trees' | |
output_dir = os.getcwd() | |
for dir in sorted(os.listdir(input_dir)): | |
if dir.startswith('.'): |
#!/bin/bash | |
set -e | |
PYTHON_VERSIONS="2.6 2.7 3.3 3.4 3.5" | |
CYTHON_VERSIONS="0.17 0.17.1 0.17.2 0.17.3 0.17.4 0.18 \ | |
0.19 0.19.1 0.19.2 0.20 0.20.1 0.20.2 \ | |
0.21 0.21.1 0.21.2 0.22 0.22.1 \ | |
0.23 0.23.1 0.23.2 0.23.3 0.23.4" | |
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH |
#!/bin/bash | |
set -e | |
PYTHON_VERSIONS="2.6 2.7 3.3 3.4 3.5" | |
NUMPY_VERSIONS="1.6.1 1.6.2 1.7.1 1.7.2 1.8.0 1.9.3 1.10.4" | |
MANYLINUX_URL=https://nipy.bic.berkeley.edu/manylinux | |
CYTHON_VERSION=0.21.2 | |
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH | |
function lex_ver { |
#!/bin/bash | |
set -e | |
MANYLINUX_URL=https://nipy.bic.berkeley.edu/manylinux | |
HDF5_VERSION_2=1.8.16 | |
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH | |
# Get hdf5 libraries | |
# curl -LO $MANYLINUX_URL/hdf5-${HDF5_VERSION_1}.tgz |
#!/bin/bash | |
# Build libh5py library | |
set -e | |
SZIP_VERSION=2.1 | |
SZIP_URL=http://www.hdfgroup.org/ftp/lib-external/szip/ | |
HDF5_VERSIONS="1.8.3 1.8.18" | |
HDF5_URL=http://www.hdfgroup.org/ftp/HDF5/releases | |
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH |