Make sure YAML is installed.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2018-12-17 16:28:42 -08:00
parent 8d3e95cd1a
commit 60e3f66674
1 changed files with 2 additions and 1 deletions

View File

@ -6,9 +6,10 @@ TCL_FORMAT ?= utils//tcl-reformat.sh
IN_ENV = if [ -e env/bin/activate ]; then . env/bin/activate; fi;
env:
virtualenv --python=python3 env
virtualenv --python=python3 --system-site-packages env
. env/bin/activate; pip install -r requirements.txt
ln -sf $(PWD)/prjxray env/lib/python3.*/site-packages/
python -c "import yaml" || (echo "Unable to find python-yaml" && exit 1)
build:
git submodule update --init --recursive