chiark / gitweb /
Updated osx scripts not to use 2.7 version of python, but whatever is available
authordaid <daid303@gmail.com>
Mon, 19 Mar 2012 11:09:50 +0000 (12:09 +0100)
committerdaid <daid303@gmail.com>
Mon, 19 Mar 2012 11:09:50 +0000 (12:09 +0100)
scripts/osx64/pronterface.sh
scripts/osx64/skeinpypy.sh

index 83896aa0c7e941f3bf6397d2484b9d53af29e85a..86e7c29b25af9bf78ec39f88427f967f8770b255 100755 (executable)
@@ -1,19 +1,19 @@
 #!/bin/bash
 
-python2.7 -c 'import wx'
+python -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'
+python -c 'import serial'
 if [ $? != 0 ]; then
        echo "Requires pyserial."
-       echo " sudo easy_install-2.7 pyserial"
+       echo " sudo easy_install pyserial"
        exit 1
 fi
 
 SCRIPT_DIR=`dirname $0`
-python2.7 ${SCRIPT_DIR}/Printrun/pronterface.py
+python ${SCRIPT_DIR}/Printrun/pronterface.py
 
index 736b30188105fe99022b5fd4117d291b6cf56897..14e10fbd9fafd5eb40813a55977004c8c01fcaf6 100755 (executable)
@@ -1,26 +1,26 @@
 #!/bin/bash
 
-python2.7 -c 'import OpenGL'
+python -c 'import OpenGL'
 if [ $? != 0 ]; then
        echo "Requires PyOpenGL"
-       echo " sudo easy_install-2.7 PyOpenGL"
+       echo " sudo easy_install PyOpenGL"
        exit 1
 fi
 
-python2.7 -c 'import wx'
+python -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'
+python -c 'import serial'
 if [ $? != 0 ]; then
        echo "Requires pyserial."
-       echo " sudo easy_install-2.7 pyserial"
+       echo " sudo easy_install pyserial"
        exit 1
 fi
 
 SCRIPT_DIR=`dirname $0`
-python2.7 ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py
+python ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py