Updated macOS scripts to be commands, makes them easier to run.
This commit is contained in:
1 parent
e332443bb4
commit
68f6ebf5d2
3 files changed
+11
-3
No files matched your search
@@ -1,20 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
python -c 'import OpenGL'
|
||||
python2.7 -c ''
|
||||
if [ $? != 0 ]; then
|
||||
echo "Requires python2.7"
|
||||
echo " Install python2.7"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python2.7 -c 'import OpenGL'
|
||||
if [ $? != 0 ]; then
|
||||
echo "Requires PyOpenGL"
|
||||
echo " sudo easy_install PyOpenGL"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python -c 'import wx'
|
||||
python2.7 -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
|
||||
|
||||
python -c 'import serial'
|
||||
python2.7 -c 'import serial'
|
||||
if [ $? != 0 ]; then
|
||||
echo "Requires pyserial."
|
||||
echo " sudo easy_install pyserial"
|
||||
File renamed without changes.
Reference in new issue
Block a user