From 303e9762451cb347e125197759bd7604a8e319a3 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 26 Apr 2016 17:57:13 +0200 Subject: Python: allow installing wheels By passing `format="wheel"` it is now possible to install a wheel. It's not recommended, but it can be useful. --- doc/languages-frameworks/python.md | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') 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 -- cgit v1.2.3