mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 05:57:33 +08:00
Updated osx scripts not to use 2.7 version of python, but whatever is available
This commit is contained in:
parent
1eba972275
commit
41adf54d0c
@ -1,19 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python2.7 -c 'import wx'
|
python -c 'import wx'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
|
echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
|
||||||
echo " http://www.wxpython.org/download.php"
|
echo " http://www.wxpython.org/download.php"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python2.7 -c 'import serial'
|
python -c 'import serial'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Requires pyserial."
|
echo "Requires pyserial."
|
||||||
echo " sudo easy_install-2.7 pyserial"
|
echo " sudo easy_install pyserial"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SCRIPT_DIR=`dirname $0`
|
SCRIPT_DIR=`dirname $0`
|
||||||
python2.7 ${SCRIPT_DIR}/Printrun/pronterface.py
|
python ${SCRIPT_DIR}/Printrun/pronterface.py
|
||||||
|
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python2.7 -c 'import OpenGL'
|
python -c 'import OpenGL'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Requires PyOpenGL"
|
echo "Requires PyOpenGL"
|
||||||
echo " sudo easy_install-2.7 PyOpenGL"
|
echo " sudo easy_install PyOpenGL"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python2.7 -c 'import wx'
|
python -c 'import wx'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
|
echo "Requires wx. Download and install (the Cocoa/64-bit variant) from:"
|
||||||
echo " http://www.wxpython.org/download.php"
|
echo " http://www.wxpython.org/download.php"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python2.7 -c 'import serial'
|
python -c 'import serial'
|
||||||
if [ $? != 0 ]; then
|
if [ $? != 0 ]; then
|
||||||
echo "Requires pyserial."
|
echo "Requires pyserial."
|
||||||
echo " sudo easy_install-2.7 pyserial"
|
echo " sudo easy_install pyserial"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SCRIPT_DIR=`dirname $0`
|
SCRIPT_DIR=`dirname $0`
|
||||||
python2.7 ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py
|
python ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user