Created
September 7, 2015 00:28
-
-
Save ozymandium/d79e96d1504c4f9cbfc0 to your computer and use it in GitHub Desktop.
Bash script that downloads and installs Christoph Gohlke's popular python transformations module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tempfile="/tmp/transformations.py" | |
wget http://www.lfd.uci.edu/~gohlke/code/transformations.py -O $tempfile | |
echo "Installing to:" | |
for path in /usr/lib/python*; do | |
[ -d "${path}" ] || continue # skip any files in there | |
filen="${path}/transformations.py" | |
echo -e "\t${filen}" | |
cp $tempfile $filen | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment