mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 20:16:09 +08:00
Added skeinpypy.sh script for linux
This commit is contained in:
parent
1fe18369b3
commit
2cda64a2c9
24
scripts/linux/skeinpypy.sh
Executable file
24
scripts/linux/skeinpypy.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/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`
|
||||
python2.7 ${SCRIPT_DIR}/SkeinPyPy/skeinpypy.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user