Skip to content

Commit

Permalink
update devready
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwagner committed Oct 29, 2024
1 parent 6f3e4d4 commit 222b1c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 222b1c2

Please sign in to comment.