Files
MINGW-packages/mingw-w64-python-theano/theano2-x86_64.install
gym603 de69f9bbac Add mingw-w64-python-theano package (#4889)
* Add mingw-w64-python-theano package

* correct LICENSE file name
2019-01-21 10:52:54 +03:00

15 lines
268 B
Plaintext

post_install() {
cd mingw64
local _prefix=$(pwd -W)
cd -
local _it
for _it in theano-cache theano-nose theano-cache2 theano-nose2 ; do
sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}