2012-03-16 16:10:05 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
python -c 'import OpenGL'
|
|
|
|
if [ $? != 0 ]; then
|
|
|
|
echo "Requires PyOpenGL"
|
|
|
|
echo " sudo easy_install-2.7 PyOpenGL"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
python -c 'import wx'
|
|
|
|
if [ $? != 0 ]; then
|
|
|
|
echo "Requires wxPython"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
python -c 'import serial'
|
|
|
|
if [ $? != 0 ]; then
|
|
|
|
echo "Requires pyserial."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
SCRIPT_DIR=`dirname $0`
|
2012-07-26 09:30:39 +00:00
|
|
|
python ${SCRIPT_DIR}/Cura/cura.py $@
|
2012-03-16 16:10:05 +00:00
|
|
|
|