Skip to content

Commit

Permalink
Make sure uv installs into the right virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Nov 26, 2024
1 parent 9bb001e commit 7c9ffec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend_addon/{{ cookiecutter.__folder_name }}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ config: instance/etc/zope.ini
build-dev: config ## Install Plone packages
@echo "$(GREEN)==> Setup Build$(RESET)"
$(BIN_FOLDER)/pipx run mxdev -c mx.ini
$(BIN_FOLDER)/uv pip install -r requirements-mxdev.txt
VIRTUAL_ENV=.venv $(BIN_FOLDER)/uv pip install -r requirements-mxdev.txt

.PHONY: install
install: build-dev ## Install Plone
Expand Down Expand Up @@ -100,7 +100,7 @@ check: $(BIN_FOLDER)/tox ## Check and fix code base according to Plone standards
# i18n
$(BIN_FOLDER)/i18ndude: $(BIN_FOLDER)/pip
@echo "$(GREEN)==> Install translation tools$(RESET)"
$(BIN_FOLDER)/uv pip install i18ndude
VIRTUAL_ENV=.venv $(BIN_FOLDER)/uv pip install i18ndude

.PHONY: i18n
i18n: $(BIN_FOLDER)/i18ndude ## Update locales
Expand Down

0 comments on commit 7c9ffec

Please sign in to comment.