Added requirements for "printrun" to python. Will add printrun later.
This commit is contained in:
parent
ded1a45970
commit
65103a8f09
1 changed files with 9 additions and 2 deletions
11
build.sh
11
build.sh
|
@ -10,13 +10,20 @@ fi
|
||||||
if [ ! -f "PortablePython_2.7.2.1.exe" ]; then
|
if [ ! -f "PortablePython_2.7.2.1.exe" ]; then
|
||||||
wget http://ftp.nluug.nl/languages/python/portablepython/v2.7/PortablePython_2.7.2.1.exe
|
wget http://ftp.nluug.nl/languages/python/portablepython/v2.7/PortablePython_2.7.2.1.exe
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f pyserial.exe ]; then
|
||||||
|
wget http://sourceforge.net/projects/pyserial/files/pyserial/2.5/pyserial-2.5.win32.exe/download
|
||||||
|
mv download pyserial.exe
|
||||||
|
fi
|
||||||
if [ ! -d target/python ]; then
|
if [ ! -d target/python ]; then
|
||||||
7z x PortablePython_2.7.2.1.exe \$_OUTDIR/App
|
7z x PortablePython_2.7.2.1.exe \$_OUTDIR/App
|
||||||
7z x PortablePython_2.7.2.1.exe \$_OUTDIR/Lib/site-packages/wx-2.8-msw-unicode
|
7z x PortablePython_2.7.2.1.exe \$_OUTDIR/Lib/site-packages
|
||||||
|
7z x pyserial.exe PURELIB
|
||||||
mkdir -p target/python
|
mkdir -p target/python
|
||||||
mv \$_OUTDIR/App/* target/python
|
mv \$_OUTDIR/App/* target/python
|
||||||
mv \$_OUTDIR/Lib target/python
|
mv \$_OUTDIR/Lib/site-packages/wx* target/python/Lib/site-packages/
|
||||||
|
mv PURELIB/serial target/python/Lib
|
||||||
rm -rf \$_OUTDIR
|
rm -rf \$_OUTDIR
|
||||||
|
rm -rf PURELIB
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Get pypy and extract it
|
#Get pypy and extract it
|
||||||
|
|
Loading…
Reference in a new issue