#!/bin/sh
set -e

SRC_ROOT=`pwd`

mkdir -p ${ADTTMP}/doc
cp -a doc/examples ${ADTTMP}/doc/
mkdir -p ${ADTTMP}/python
cd ${ADTTMP}/python
echo "backend : PDF" > matplotlibrc

for python in `pyversions -s` `py3versions -s` ; do
    $python ${SRC_ROOT}/python/example.py ;
done

exit 0
