diff options
author | Profpatsch <mail@profpatsch.de> | 2015-07-08 14:21:51 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2015-07-08 14:21:51 +0200 |
commit | ef5d158e83e1dc4e1be8735f9de1d24f1fd55136 (patch) | |
tree | 74f11b052f3723e7d0a8f0cf32c53b843b062da6 /doc | |
parent | b028c14256d08c1dcb5a26f37edc879885cac20d (diff) |
language-support python: propagatedBuildInputs
Explain difference between buildInputs and propagatedBuildInputs. Shamefully steal wording from Perl.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/language-support.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/language-support.xml b/doc/language-support.xml index def0de1d91f2f..798988274ecdf 100644 --- a/doc/language-support.xml +++ b/doc/language-support.xml @@ -341,7 +341,16 @@ twisted = buildPythonPackage { <para>By default <varname>doCheck = true</varname> is set and tests are run with <literal>${python.interpreter} setup.py test</literal> command in <varname>checkPhase</varname>.</para> - <para><varname>propagatedBuildInputs</varname> packages are propagated to user environment.</para> + <para><varname>propagatedBuildInputs</varname> packages are propagated to the user environment.</para> + + <para> + As in Perl, dependencies on other Python packages can be specified in the + <varname>buildInputs</varname> and + <varname>propagatedBuildInputs</varname> attributes. If something is + exclusively a build-time dependency, use + <varname>buildInputs</varname>; if it’s (also) a runtime dependency, + use <varname>propagatedBuildInputs</varname>. + </para> <para> By default <varname>meta.platforms</varname> is set to the same value |