pip-build-hook.sh: Support $pipBuildFlags

This commit is contained in:
Doron Behar
2023-06-28 10:03:54 +03:00
committed by Martin Weinelt
parent 8056d8544f
commit 1298c367b1
2 changed files with 12 additions and 1 deletions

View File

@@ -1189,6 +1189,8 @@ following are specific to `buildPythonPackage`:
* `pipInstallFlags ? []`: A list of strings. Arguments to be passed to `pip
install`. To pass options to `python setup.py install`, use
`--install-option`. E.g., `pipInstallFlags=["--install-option='--cpp_implementation'"]`.
* `pipBuildFlags ? []`: A list of strings. Arguments to be passed to `pip
wheel`.
* `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages
in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
* `preShellHook`: Hook to execute commands before `shellHook`.