From 60e3f6667439d743534e64c24e66bcb649619a1c Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 17 Dec 2018 16:28:42 -0800 Subject: [PATCH] Make sure YAML is installed. Signed-off-by: Tim 'mithro' Ansell --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 517d6226..437336e4 100644 --- a/Makefile +++ b/Makefile @@ -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