- build.sh now copies just the startup scripts, and not any editor turds.

- startup scripts on Mac OS X are marked executable

- startup scripts now make sure that PyOpenGL is installed
master
Bill Bumgarner 2012-03-11 03:25:11 +08:00 committed by daid
parent d7d543e199
commit 6e01b9cd3d
3 changed files with 31 additions and 1 deletions

View File

@ -138,7 +138,11 @@ cp -a SkeinPyPy_NewUI ${TARGET_DIR}/SkeinPyPy
mv Printrun ${TARGET_DIR}/Printrun
#add script files
cp -a scripts/${BUILD_TARGET}/* $TARGET_DIR/
if [ $BUILD_TARGET = "win32" ]; then
cp -a scripts/${BUILD_TARGET}/*.bat $TARGET_DIR/
else
cp -a scripts/${BUILD_TARGET}/*.sh $TARGET_DIR/
fi
#add readme file
cp README ${TARGET_DIR}/README.txt

0
scripts/osx64/pronterface.sh Normal file → Executable file
View File

26
scripts/osx64/skeinpypy.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
python2.7 -c 'import OpenGL'
if [ $? != 0 ]; then
echo "Requires PyOpenGL"
echo " sudo easy_install-2.7 PyOpenGL"
exit 1
fi
python2.7 -c 'import wx'
if [ $? != 0 ]; then
echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
echo " http://www.wxpython.org/download.php"
exit 1
fi
python2.7 -c 'import serial'
if [ $? != 0 ]; then
echo "Requires pyserial."
echo " sudo easy_install-2.7 pyserial"
exit 1
fi
SCRIPT_DIR=`dirname $0`
python2.7 ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py