Skip to content

Commit

Permalink
Merge pull request #116 from plone/fix-with-active-venv
Browse files Browse the repository at this point in the history
Make sure uv installs into the right virtualenv
  • Loading branch information
davisagli authored Nov 26, 2024
2 parents e8c1b00 + 7c9ffec commit 2893d4c
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 2893d4c

Please sign in to comment.