buildPythonPackage: add support for setupPyDistFlags

Flags passed to the "python setup.py" command.
This commit is contained in:
Kirill Boltaev 2019-07-13 00:25:23 +03:00 committed by Frederik Rietdijk
parent 4aee94629d
commit 1e0ebdb8a4
3 changed files with 14 additions and 5 deletions

View file

@ -603,6 +603,7 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
* `preShellHook`: Hook to execute commands before `shellHook`.
* `postShellHook`: Hook to execute commands after `shellHook`.
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
* `setupPyDistFlags ? []`: List of flags passed to `setup.py` command.
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special