From 4fb29753ca1da2942377a47a61689194c96d78fd Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Mon, 17 Dec 2018 18:49:18 -0800 Subject: [PATCH] Check yaml *inside* the environment. Signed-off-by: Tim 'mithro' Ansell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 437336e4..81038d84 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ 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) + . env/bin/activate; python -c "import yaml" || (echo "Unable to find python-yaml" && exit 1) build: git submodule update --init --recursive