#! /usr/bin/env bash
# Do all of this and then save a snapshot
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install build-essential python-dev python-setuptools \
                     python-numpy python-scipy \
                     libatlas-dev libatlas3gf-base
sudo apt-get install python-opencv libtiff-tools python-gtk2 python-cairo unzip
sudo apt-get install scantailor
sudo pip install Cython
sudo pip install pillow sklearn requests simplejson
python setup.py build_ext --inplace
mkdir -p ~/.fontscp data_generation/fonts/*ttf ~/.fonts/
fc-cache -f -v
cd data_generation
python font_draw.py
cd ..
cd datasets
unzip datapickles.zip
cd ..
python classify.py

#! /usr/bin/env bash
# Do all of this and then save a snapshot
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install ghostscript
sudo apt-get install build-essential python-dev python-setuptools \
                     python-numpy python-scipy \
                     libatlas-dev libatlas3gf-base
sudo apt-get install python-opencv libtiff-tools python-gtk2 python-cairo unzip
sudo apt-get install scantailor
sudo pip install Cython
sudo pip install pillow sklearn requests simplejson
python setup.py build_ext --inplace
mkdir -p ~/.fontscp data_generation/fonts/*ttf ~/.fonts/
fc-cache -f -v
cd data_generation
python font_draw.py
cd ..
cd datasets
unzip datapickles.zip
cd ..
python classify.py

Add ghostscript to installation file
Add ghostscript to installation file
