summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-01-13 21:45:24 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-01-14 22:36:21 +0100
commiteba1f794184f6bc08558a6506ed62eada008f37e (patch)
tree5e3bbaa1908dc7eae5d5fdfeecf509ef110fa942 /doc
parentece829033b7b8f4e81261fef5427144df4147bc4 (diff)
downloadnixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar.gz
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar.bz2
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar.lz
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar.xz
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.tar.zst
nixpkgs-eba1f794184f6bc08558a6506ed62eada008f37e.zip
pythonPackages.venvShellHook: init
This is a hook that loads a virtualenv from the specified `venvDir`
location. If the virtualenv does not exist, it is created.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.section.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 199e678bc29..bbcf82f7ed6 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -833,6 +833,7 @@ used in `buildPythonPackage`.
 - `pythonRemoveBinBytecode` to remove bytecode from the `/bin` folder.
 - `setuptoolsBuildHook` to build a wheel using `setuptools`.
 - `setuptoolsCheckHook` to run tests with `python setup.py test`.
+- `venvShellHook` to source a Python 3 `venv` at the `venvDir` location. A `venv` is created if it does not yet exist.
 - `wheelUnpackHook` to move a wheel to the correct folder so it can be installed with the `pipInstallHook`.
 
 ### Development mode