<commit_before>#!/bin/bash

set -o nounset
set -o errexit

STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )"

export DEBIAN_FRONTEND=noninteractive

ANACONDA_INSTALL_FILE=Anaconda2-2.4.0-Linux-x86_64.sh
wget -O /tmp/${ANACONDA_INSTALL_FILE} http://static.seldon.io/vm-resources/anaconda/${ANACONDA_INSTALL_FILE}

bash /tmp/Anaconda2-2.4.0-Linux-x86_64.sh -b

# use anaconda for rest of python install
export PATH=/home/ubuntu/anaconda2/bin:${PATH}

sudo apt-get update
sudo apt-get install -y make libmysqlclient-dev mysql-client-core-5.6
pip install unicodecsv
pip install MySQL-python
pip install kazoo<commit_msg>anaconda path fix on vagrant vm<commit_after>#!/bin/bash

set -o nounset
set -o errexit

STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )"

export DEBIAN_FRONTEND=noninteractive

ANACONDA_INSTALL_FILE=Anaconda2-2.4.0-Linux-x86_64.sh
wget -O /tmp/${ANACONDA_INSTALL_FILE} http://static.seldon.io/vm-resources/anaconda/${ANACONDA_INSTALL_FILE}

bash /tmp/Anaconda2-2.4.0-Linux-x86_64.sh -b

# use anaconda for rest of python install
export PATH=${ANACONDA_HOME}/bin:${PATH}

sudo apt-get update
sudo apt-get install -y make libmysqlclient-dev mysql-client-core-5.6
pip install unicodecsv
pip install MySQL-python
pip install kazoo
{'fraction_non_alphanumeric': 0.12721417069243157, 'fraction_numerical': 0.03140096618357488, 'mean_word_length': 4.890995260663507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4895231', 'n_tokens_mistral': 532, 'n_tokens_neox': 477, 'n_words': 104}