Home Explore Blog Models CI



nixpkgs

doc/hooks/python.section.md
95a5c139580f7d28b003f51cd9ab72a466a154b3bacf6de000000003000000ae
# Python {#setup-hook-python}

Adds the `python.sitePackages` subdirectory (i.e. `lib/pythonX.Y/site-packages`) of each build input to the `PYTHONPATH` environment variable.

Chunks
996eb12c (1st chunk of `doc/hooks/python.section.md`)
Title: Python Environment Variable Configuration
Summary
This configuration adds the `python.sitePackages` subdirectory (e.g., `lib/pythonX.Y/site-packages`) from each build input to the `PYTHONPATH` environment variable.