]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Virtualenv to build the docs renamed to .vemv
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 12 Nov 2020 15:24:56 +0000 (15:24 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 12 Nov 2020 17:56:42 +0000 (17:56 +0000)
.gitignore
docs/Makefile
docs/conf.py

index 23ad50cdc737b600bdab78f995578ffdb3b4f245..1abeb25fe6421fb548211f4a22927e15d16dcc31 100644 (file)
@@ -7,4 +7,3 @@
 /.mypy_cache
 __pycache__/
 /docs/_build/
-/docs/env/
index ff619b429fedbe14cb72977ab3a3a94cf01fe846..64011e35f73b32b2480246358ec7269bd3ed25c6 100644 (file)
@@ -15,10 +15,12 @@ help:
 
 .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).
index 48b8994dfe552291a590fcb886598b5b9a630cbb..f2269993d16a8b00d0caf27937e9858b1e70dfc7 100644 (file)
@@ -47,7 +47,7 @@ templates_path = ["_templates"]
 # 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 -------------------------------------------------