Commit 8866ca35 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov Committed by GitHub
Browse files

Merge pull request #4269 from grayjay/multiple-constraints-docs

Restore documentation about multiple constraints.
parents 0ca732ca d5a5fc54
......@@ -620,6 +620,16 @@ The following settings control the behavior of the dependency solver:
and other properties a solver can pick for a
package. For example:
::
constraints: bar == 2.1
A package can be specified multiple times in ``constraints``, in
which case the specified constraints are intersected. This is
useful, since the syntax does not allow you to specify multiple
constraints at once. For example, to specify both version bounds and
flag assignments, you would write:
::
constraints: bar == 2.1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment