diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-05-09 14:39:41 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-05-09 14:39:41 +0100 |
commit | 428db7857e8fae65c32e87f5d768af141cbb3ad5 (patch) | |
tree | 8f624476c5a821607ef2c7e692e871bbd131d9ef /doc | |
parent | 9cc724e570ebe6dcb6089e2fcd9c65f79ca85a01 (diff) | |
parent | 3c0dc7a7c7d581fc54ad4d87af746db9eefc57e0 (diff) | |
download | nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar.gz nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar.bz2 nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar.lz nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar.xz nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.tar.zst nixlib-428db7857e8fae65c32e87f5d768af141cbb3ad5.zip |
Merge pull request #15010 from FRidh/format
Python: support installing wheels
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md index 81da5c704395..a04ca75a2fbb 100644 --- a/doc/languages-frameworks/python.md +++ b/doc/languages-frameworks/python.md @@ -534,6 +534,7 @@ All parameters from `mkDerivation` function are still supported. * `postShellHook`: Hook to execute commands after `shellHook`. * `makeWrapperArgs`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`. * `installFlags`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]. +* `format`: Format of the source. Options are `setup` for when the source has a `setup.py` and `setuptools` is used to build a wheel, and `wheel` in case the source is already a binary wheel. The default value is `setup`. #### `buildPythonApplication` function |