~bcbc/wubi/lp-862003-plus3more

« back to all changes in this revision

Viewing changes to tools/check_pyinstaller

  • Committer: Agostino Russo
  • Date: 2008-08-17 11:53:34 UTC
  • Revision ID: agostino.russo@gmail.com-20080817115334-6gka1ih01naxbs8b
* Revised tool scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
pyinstallerurl="http://pyinstaller.hpcf.upr.edu/source/1.3/pyinstaller_1.3.zip"
 
4
 
 
5
root="$(cd ${0%/*}/../;pwd)"
 
6
 
 
7
install_pyinstaller(){
 
8
        echo "Installing pyinstaller..."
 
9
        wget -P /tmp "$pyinstallerurl"
 
10
        fname="${pyinstallerurl##*/}"
 
11
        unzip "/tmp/$fname" -d /tmp/pyinstaller
 
12
        cp -a "/tmp/pyinstaller/${fname%_*}"* "$root/src/pyinstaller"
 
13
        wine "C:/python25/python.exe" "$root/src/pyinstaller/Configure.py"
 
14
}
 
15
 
 
16
if [ ! -e "$root/src/pyinstaller" ]; then
 
17
        install_pyinstaller
 
18
fi