From 222b1c2b8ceb29606355bb3cb94faac5ba212539 Mon Sep 17 00:00:00 2001 From: "Alex H. Wagner, PhD" Date: Mon, 28 Oct 2024 21:27:29 -0400 Subject: [PATCH] update devready --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6451005..a73e2fe 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ SHELL:=/bin/bash -e -o pipefail SELF:=$(firstword $(MAKEFILE_LIST)) PY_VERSION:=$(shell python3 --version | cut -d" " -f2 | cut -d. -f1-2) -VE_DIR=venv +VE_DIR=venv/${PY_VERSION} $(info Using Python ${PY_VERSION}) @@ -38,12 +38,12 @@ devready: @echo '#################################################################################' #=> venv: make a Python 3 virtual environment -venv: ${VE_DIR} -${VE_DIR}: venv/%: - python$* -mvenv $@; \ +.PHONY: venv/% +venv/%: + python$* -m venv $@; \ source $@/bin/activate; \ python -m ensurepip --upgrade; \ - pip install --upgrade pip setuptools wheel + pip install --upgrade pip setuptools #=> develop: install package in develop mode #=> develop: install package in develop mode