diff options
author | Domen Kožar <domen@dev.si> | 2015-07-20 10:47:16 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-07-20 10:47:16 +0100 |
commit | 8ac9c708b914248b9082fcbb77e14bc8d4549026 (patch) | |
tree | 26e8215c24ea3256608c80bb0a3bb1400c559ae5 /doc | |
parent | 8d507823ca1d2f57d2840bb43c52637bf00315f1 (diff) | |
parent | b30cab15ea64ae7f701626524bcf522a21fcc284 (diff) |
Merge pull request #8703 from Profpatsch/python-docs
language-support python: propagatedBuildInputs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/language-support.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/language-support.xml b/doc/language-support.xml index def0de1d91f2f..9117af864add6 100644 --- a/doc/language-support.xml +++ b/doc/language-support.xml @@ -1,3 +1,4 @@ + <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-language-support"> @@ -341,7 +342,14 @@ 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> + 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 |