#!/bin/bash -e #if [ -d h5py ]; then exit -1; fi #unzip h5py_rearranged.zip #patch -p0 config.pxi <\3%g w/dev/stdout' -i *.pxd #find . -type f -name \*.c -exec sed -r 's%"h5py\.(h5|_conv|_proxy|utils)([\.A-Za-z0-9_]*)"%"\1\2"%g w/dev/stdout' -i {} \; #find . -type f -name \*.c -exec sed -r 's%"(_extras|filters|highlevel|_ipy_completer|selections|_stub|version)"%"gpaw.h5py.\1"%g w/dev/stdout' -i {} \;