removed the external references section
This commit is contained in:
parent
510afcef1b
commit
b6219b9be0
36
pep-0345.txt
36
pep-0345.txt
|
@ -387,22 +387,18 @@ Requires-External (multiple use)
|
|||
|
||||
A version declaration is a series of conditional operators and
|
||||
version numbers, separated by commas. Conditional operators
|
||||
must be one of "<", ">", "<=", ">=", "==", and "!=". Because they
|
||||
refer to non-Python software releases, version numbers for
|
||||
this field are **not** required to conform to the format
|
||||
must be one of "<", ">", "<=", ">=", "==", and "!=". If no
|
||||
operator is provided with a version, the "==" operator is used by default.
|
||||
|
||||
Because they refer to non-Python software releases, version numbers
|
||||
for this field are **not** required to conform to the format
|
||||
specified in `PEP 386`_: they should correspond to the
|
||||
version scheme used by the external dependency.
|
||||
|
||||
Any number of conditional operators can be specified, e.g.
|
||||
the string ">1.0, !=1.3.4, <2.0" is a legal version declaration.
|
||||
|
||||
The canonical list of what strings are allowed is available
|
||||
in the `Python Package Index`_ database: see
|
||||
`External References Registry`_ below for a description of how
|
||||
the allowed values are managed.
|
||||
|
||||
Some dependencies are anticipated to be quite broad, eg. "C",
|
||||
indicating a C compiler is required.
|
||||
Notice that there's is no particular rule on the strings to be used.
|
||||
|
||||
Examples::
|
||||
|
||||
|
@ -427,26 +423,6 @@ The specification for distribution version specifiers has been moved to
|
|||
`PEP 386`_.
|
||||
|
||||
|
||||
External References Registry
|
||||
============================
|
||||
|
||||
Stores in the `Python Package Index`_ database a list of (name, description,
|
||||
URI) identifying an external reference that may be used as a value in
|
||||
a Requires-External field.
|
||||
|
||||
The name and description are required, but URI is not (as there is no
|
||||
single useful URI for "C").
|
||||
|
||||
Submissions to the registry are open to the community, and may be performed
|
||||
through the web or using the command-line.
|
||||
|
||||
The names in the registry will be created under a first-comes first-wins
|
||||
basis. Other packagers of Python software (eg. to deb, rpm, etc) should be
|
||||
able to translate the `Requires-external` field to names in their own
|
||||
packaging system.
|
||||
|
||||
XXX command-line interface needs work, obviously
|
||||
|
||||
Environment markers
|
||||
===================
|
||||
|
||||
|
|
Loading…
Reference in New Issue