Skip to content

Commit

Permalink
Merge pull request #865 from plone/make-use-sphinx-build-target
Browse files Browse the repository at this point in the history
Don't recreate the virtual environment, just delete it
  • Loading branch information
stevepiercy authored Nov 10, 2024
2 parents 6a9ddc4 + dd1d1bd commit a0fad25
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,9 @@ clean: ## Clean build directory
cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/*

.PHONY: distclean
distclean: ## Clean docs build directory and Python virtual environment, then install requirements
distclean: ## Clean docs build directory and Python virtual environment
rm -rf venv
cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/
python3 -m venv venv --clear
venv/bin/python -m pip install --upgrade pip
venv/bin/pip install -r requirements.txt
@echo
@echo "Installation of requirements completed."

venv/bin/python: ## Set up training: Install requirements
python3 -m venv venv
Expand Down

0 comments on commit a0fad25

Please sign in to comment.