7 # set default values in config array
14 # Install system dependencies
15 sudo apt-get -y update
16 sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \
19 if [[ ${CFG[BLD_LATEX]} -eq 1 ]] ;
21 sudo apt-get -y install xvfb texlive-latex-recommended \
22 texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra latexmk wkhtmltopdf inkscape
23 sudo sed -i.bak 's/^\(main_memory\s=\s\).*/\110000000/' /usr/share/texlive/texmf-dist/web2c/texmf.cnf
26 # Create working directories
29 # Create virtual environment
30 virtualenv -p $(which python3) ${DIR[WORKING]}/env
31 source ${DIR[WORKING]}/env/bin/activate
33 # Install python dependencies:
34 pip3 install -r requirements.txt
36 export PYTHONPATH=`pwd`:`pwd`/../../../:`pwd`/../../libraries/python
39 --specification specification.yaml \
40 --release ${RELEASE} \
45 RETURN_STATUS=$(echo $?)