#! /bin/bash
#
# file: setup.sh
#
# This bash script performs any setup necessary in order to test your
# entry.  It is run only once, before running any other code belonging
# to your entry.

set -e
set -o pipefail

# Example: compile a C module (viterbi_Schmidt) for Octave
#mkoctfile -mex viterbi_Springer.c

# Example: compile a C module for Matlab
#mex viterbi_Springer.c


# Install Keras and Tensorflow
#pip3 install --upgrade pip
#pip3 install --user h5py
#pip3 install --user Pillow
#pip3 install --user scikit_learn-0.19.0-cp34-none-any.whl 
#pip3 install --user six-1.9.0.tar.gz
#pip3 install --user protobuf-3.3.0-cp34-none-any.whl
#wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp34-cp34m-linux_x86_64.whl 
#pip3 install --user tensorflow-1.3.0-cp34-cp34m-linux_x86_64.whl 
#pip3 install --user tensorflow
#pip3 install --user pyyaml
#pip3 install --user Keras-2.0.4.tar.gz

# Compile EEMD lib
#gcc -shared -o libeemd.so -O -Wall -fPIC sampen.c -lm

# Remove previous answers
#rm answers.txt
