From ed2419a4939a40ccecfc308390208c0e26960683 Mon Sep 17 00:00:00 2001 From: Toover Date: Mon, 10 Apr 2017 19:53:33 +0200 Subject: [PATCH] Fix Python lookup in the Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ac7e197..814b48db 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VIRTUALENV = virtualenv --python=python3 SPHINX_BUILDDIR = docs/_build -VENV := $(shell echo $${VIRTUAL_ENV-.venv}) +VENV := $(shell realpath $${VIRTUAL_ENV-.venv}) PYTHON = $(VENV)/bin/python3 DEV_STAMP = $(VENV)/.dev_env_installed.stamp DOC_STAMP = $(VENV)/.doc_env_installed.stamp @@ -24,7 +24,7 @@ $(DEV_STAMP): $(PYTHON) dev-requirements.txt touch $(DEV_STAMP) serve: $(INSTALL_STAMP) - cd budget; ../$(PYTHON) run.py + cd budget; $(PYTHON) run.py test: $(DEV_STAMP) $(VENV)/bin/tox