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:
Nick Coghlan 2017-02-15 08:30:35 +01:00 committed by GitHub
parent 830811a0c8
commit fa86704be3
1 changed files with 7 additions and 3 deletions

View File

@ -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