.PHONY: help env Makefile
-env: requirements.txt
- virtualenv -p $(PYTHON) env
- ./env/bin/pip install -e ../psycopg3
- ./env/bin/pip install -r requirements.txt
+env: .venv
+
+.venv: requirements.txt
+ virtualenv -p $(PYTHON) .venv
+ ./.venv/bin/pip install -e ../psycopg3
+ ./.venv/bin/pip install -r requirements.txt
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "env"]
+exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".venv"]
# -- Options for HTML output -------------------------------------------------