using '=' (even if ':' works in configparser)
This commit is contained in:
parent
8723863b3b
commit
4d277a02f3
10
pep-0390.txt
10
pep-0390.txt
|
@ -75,17 +75,17 @@ environment. Here's some examples::
|
|||
version = 0.6.4
|
||||
|
||||
[metadata:sys_platform == 'win32']
|
||||
requires: pywin32
|
||||
requires: bar > 1.0
|
||||
requires = pywin32
|
||||
requires = bar > 1.0
|
||||
|
||||
[metadata:os_machine == 'i386']
|
||||
requires: foo
|
||||
requires = foo
|
||||
|
||||
[metadata:python_version == '2.4' or python_version == '2.5']
|
||||
requires: bar
|
||||
requires = bar
|
||||
|
||||
[metadata:'linux' in sys_platform]
|
||||
requires: baz
|
||||
requires = baz
|
||||
|
||||
Every ``[metadata:condition]`` section will be used only if the condition
|
||||
is met when the file is read. The background motivation for these
|
||||
|
|
Loading…
Reference in New Issue