PEP 739: add missing fields (#3693)
This commit is contained in:
parent
13022a6d12
commit
77a9780295
|
@ -90,22 +90,60 @@ Implementation-specific keys
|
|||
Additionally to the keys defined above, implementations may choose to include
|
||||
extra keys with extra implementation-specific details.
|
||||
|
||||
interpreter
|
||||
-----------
|
||||
|
||||
|
||||
Subsection with details Python interpreter. If the Python installation does not
|
||||
provide an interpreter, this section will be missing.
|
||||
|
||||
path
|
||||
~~~~
|
||||
|
||||
:Type: ``string``
|
||||
:Description: The path to the Python interprer. Either an absolute path, or a
|
||||
relative path to the directory containing this file, if
|
||||
applicable.
|
||||
|
||||
libpython
|
||||
---------
|
||||
|
||||
Subsection with details related to the ``libpython`` library. If the Python
|
||||
installation does not provide a ``libpython`` library, this section will be
|
||||
missing.
|
||||
|
||||
dynamic
|
||||
~~~~~~~
|
||||
|
||||
:Type: ``string``
|
||||
:Description: The path to the dynamic ``libpython`` library. Either an absolute
|
||||
path, or a relative path to the directory containing this file, if
|
||||
applicable. If the Python installation does not provide a dynamic
|
||||
``libpython`` library, this entry will be missing.
|
||||
|
||||
static
|
||||
~~~~~~~
|
||||
|
||||
:Type: ``string``
|
||||
:Description: The path to the static ``libpython`` library. Either an absolute
|
||||
path, or a relative path to the directory containing this file, if
|
||||
applicable. If the Python installation does not provide a static
|
||||
``libpython`` library, this entry will be missing.
|
||||
|
||||
c_api
|
||||
-----
|
||||
|
||||
Subsection with details related to the Python C API, if available. If the Python
|
||||
implementation does not provide a C API, this section will be missing.
|
||||
|
||||
TODO
|
||||
headers
|
||||
~~~~~~~
|
||||
|
||||
libpython
|
||||
---------
|
||||
:Type: ``string``
|
||||
:Description: The path to the C API headers. Either an absolute path, or a
|
||||
relative path to the directory containing this file, if
|
||||
applicable.
|
||||
|
||||
Subsection with details related to the ``libpython``, if available. If the
|
||||
Python implementation does not provide a ``libpython`` library, this section
|
||||
will be missing.
|
||||
|
||||
TODO
|
||||
|
||||
Example
|
||||
=======
|
||||
|
@ -129,11 +167,14 @@ Example
|
|||
},
|
||||
"hexversion": "...",
|
||||
"cache_tag": "cpython-313",
|
||||
"multiarch": "x86_64-linux-gnu"
|
||||
},
|
||||
"c_api": {
|
||||
"_multiarch": "x86_64-linux-gnu"
|
||||
},
|
||||
"libpython": {
|
||||
"dynamic": "/usr/lib/libpython3.13.so.1.0",
|
||||
"static": "/usr/lib/python3.13/config-3.13-x86_64-linux-gnu/libpython3.13.a",
|
||||
},
|
||||
"c_api": {
|
||||
"headers": "/usr/include/python3.13"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue