Add extra requirements to linux run script.

This commit is contained in:
daid303 committed 2012-12-19 09:52:02 +01:00
1 parent 9d46c12da1
commit d8923b891b
2 files changed
+14 -2

No files matched your search

+12
View File
@@ -19,6 +19,18 @@ if [ $? != 0 ]; then
exit 1
fi
python -c 'import numpy'
if [ $? != 0 ]; then
echo "Requires numpy."
exit 1
fi
python -c 'import power'
if [ $? != 0 ]; then
echo "Requires power module from https://github.com/GreatFruitOmsk/Power."
exit 1
fi
SCRIPT_DIR=`dirname $0`
cd $SCRIPT_DIR
python -m Cura.cura $@