Updated build script so it works for osx. (Thanks bbum!)

Added osx pronterface start script (Thanks bbum!)
General update to the build script so it's easier to use.
This commit is contained in:
daid committed 2012-02-13 11:33:38 +01:00
1 parent 3b0845f87e
commit 559f855ef0
5 files changed
+132 -62

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
python -c 'import wx'
if [ $? != 0 ]; then
echo "Requires wx python."
exit 1
fi
python -c 'import serial'
if [ $? != 0 ]; then
echo "Requires pyserial."
exit 1
fi
SCRIPT_DIR=`dirname $0`
python ${SCRIPT_DIR}/Printrun/pronterface.py
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
arch -arch i386 python2.7 -c 'import wx'
if [ $? != 0 ]; then
echo "Requires wx. Download and install 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`
arch -arch i386 python2.7 ${SCRIPT_DIR}/Printrun/pronterface.py
+1
View File
@@ -0,0 +1 @@
@python\python.exe printrun\pronterface.py
+2
View File
@@ -0,0 +1,2 @@
@python\python.exe SkeinPyPy\skeinforge_application\skeinforge.py