Add extra requirements to linux run script.

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

View file

@ -8,10 +8,10 @@
#############################
##Select the build target
# BUILD_TARGET=${1:-all}
BUILD_TARGET=${1:-all}
#BUILD_TARGET=win32
#BUILD_TARGET=linux
BUILD_TARGET=darwin
#BUILD_TARGET=darwin
##Do we need to create the final archive
ARCHIVE_FOR_DISTRIBUTION=1

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 $@