PEP 426: Reference PEP 508 where appropriate
Some parts of PEP 426 relating to dependency declarations are now covered in PEP 508, so make a note of that in the affected sections.
This commit is contained in:
parent
830811a0c8
commit
fa86704be3
10
pep-0426.txt
10
pep-0426.txt
|
@ -1259,6 +1259,11 @@ back on attempting to install from source rather than failing entirely.
|
|||
Extras (optional dependencies)
|
||||
==============================
|
||||
|
||||
.. note::
|
||||
|
||||
The general definition of extras has been moved out to the
|
||||
specification for dependency declarations: PEP 508.
|
||||
|
||||
Extras are additional dependencies that enable an optional aspect
|
||||
of the distribution, often corresponding to a ``try: import
|
||||
optional_dependency ...`` block in the code. To support the use of the
|
||||
|
@ -1365,9 +1370,8 @@ Environment markers
|
|||
|
||||
.. note::
|
||||
|
||||
The definition of environment markers is in the process of being moved out
|
||||
to a dedicated specification: PEP 496.
|
||||
|
||||
The definition of environment markers has been moved out to the
|
||||
specification for dependency declarations: PEP 508.
|
||||
|
||||
An **environment marker** describes a condition about the current execution
|
||||
environment. They are used to indicate when certain dependencies are only
|
||||
|
|
Loading…
Reference in New Issue