Skip to content

Commit 6a8af47

Browse files
committed
Simplify relative paths text
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 33c236f commit 6a8af47

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

peps/pep-0739.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ below, which is rendered in an human-readable format here.
132132
* - Description
133133
- Base prefix of the Python installation.
134134

135-
Either an absolute path, or a relative path to directory where
135+
Either an absolute path, or a path relative to directory where
136136
this file is contained.
137137
* - Examples
138138
- ``/usr``, ``../..``, etc.
@@ -150,8 +150,7 @@ below, which is rendered in an human-readable format here.
150150
* - Description
151151
- The path to the Python interprer of the base installation.
152152

153-
Either an absolute path, or a relative path to the path defined
154-
in the ``base_prefix`` key.
153+
Either an absolute path, or a path relative to ``base_prefix``.
155154

156155
This field **MUST** be present if the installation provides an
157156
interpreter executable.
@@ -531,8 +530,7 @@ below, which is rendered in an human-readable format here.
531530
* - Description
532531
- The path to the dynamic ``libpython`` library.
533532

534-
Either an absolute path, or a relative path to the path defined
535-
in the ``base_prefix`` key.
533+
Either an absolute path, or a path relative to ``base_prefix``.
536534

537535
This field **MUST** be present if the Python installation
538536
provides a dynamic ``libpython`` library, otherwise this entry
@@ -556,8 +554,7 @@ below, which is rendered in an human-readable format here.
556554
- The path to the dynamic ``libpython`` library for the stable
557555
ABI.
558556

559-
Either an absolute path, or a relative path to the path defined
560-
in the ``base_prefix`` key.
557+
Either an absolute path, or a path relative to ``base_prefix``.
561558

562559
This field **MUST** be present if the Python installation
563560
provides a dynamic ``libpython`` library targetting the Stable
@@ -582,8 +579,7 @@ below, which is rendered in an human-readable format here.
582579
* - Description
583580
- The path to the static ``libpython`` library.
584581

585-
Either an absolute path, or a relative path to the path defined
586-
in the ``base_prefix`` key.
582+
Either an absolute path, or a path relative to ``base_prefix``.
587583

588584
This field **MUST** be present if the Python installation
589585
provides a static ``libpython`` library, otherwise this entry
@@ -642,8 +638,7 @@ below, which is rendered in an human-readable format here.
642638
* - Description
643639
- The path to the C API headers.
644640

645-
Either an absolute path, or a relative path to the path defined
646-
in the ``base_prefix`` key.
641+
Either an absolute path, or a path relative to ``base_prefix``.
647642
* - Examples
648643
- - ``/usr/include/python3.14``
649644
- ``include/python3.14``
@@ -662,8 +657,7 @@ below, which is rendered in an human-readable format here.
662657
* - Description
663658
- The path to the pkg-config definition files.
664659

665-
Either an absolute path, or a relative path to the path defined
666-
in the ``base_prefix`` key.
660+
Either an absolute path, or a path relative to ``base_prefix``.
667661

668662
This field **MUST** be present if the Python implementation
669663
provides pkg-config definition files, otherwise this section

peps/pep-0739/python-build-info-v1.0.schema.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
},
2020
"base_prefix": {
2121
"type": "string",
22-
"description": "Base prefix of the Python installation.\n\nEither an absolute path, or a relative path to directory where this file is contained.",
22+
"description": "Base prefix of the Python installation.\n\nEither an absolute path, or a path relative to directory where this file is contained.",
2323
"examples": [
2424
"/usr",
2525
"../.."
2626
]
2727
},
2828
"base_interpreter": {
2929
"type": "string",
30-
"description": "The path to the Python interprer of the base installation.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field **MUST** be present if the installation provides an interpreter executable.",
30+
"description": "The path to the Python interprer of the base installation.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the installation provides an interpreter executable.",
3131
"examples": [
3232
"/usr/bin/python",
3333
"bin/python"
@@ -199,23 +199,23 @@
199199
"properties": {
200200
"dynamic": {
201201
"type": "string",
202-
"description": "The path to the dynamic ``libpython`` library.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library, otherwise this entry will be missing.",
202+
"description": "The path to the dynamic ``libpython`` library.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library, otherwise this entry will be missing.",
203203
"examples": [
204204
"/usr/lib/libpython3.14.so.1.0",
205205
"lib/libpython3.14.so.1.0"
206206
]
207207
},
208208
"dynamic_stableabi": {
209209
"type": "string",
210-
"description": "The path to the dynamic ``libpython`` library for the stable ABI.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library targetting the Stable ABI, otherwise this entry will be missing.\n\nIf this key is present ``dynamic`` **MUST** also be set.",
210+
"description": "The path to the dynamic ``libpython`` library for the stable ABI.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python installation provides a dynamic ``libpython`` library targetting the Stable ABI, otherwise this entry will be missing.\n\nIf this key is present ``dynamic`` **MUST** also be set.",
211211
"examples": [
212212
"/usr/lib/libpython3.so",
213213
"lib/libpython3.so"
214214
]
215215
},
216216
"static": {
217217
"type": "string",
218-
"description": "The path to the static ``libpython`` library.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field **MUST** be present if the Python installation provides a static ``libpython`` library, otherwise this entry will be missing.",
218+
"description": "The path to the static ``libpython`` library.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python installation provides a static ``libpython`` library, otherwise this entry will be missing.",
219219
"examples": [
220220
"/usr/lib/python3.14/config-3.14-x86_64-linux-gnu/libpython3.14.a",
221221
"lib/python3.14/config-3.14-x86_64-linux-gnu/libpython3.14.a"
@@ -237,15 +237,15 @@
237237
"properties": {
238238
"headers": {
239239
"type": "string",
240-
"description": "The path to the C API headers.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.",
240+
"description": "The path to the C API headers.\n\nEither an absolute path, or a path relative to ``base_prefix``.",
241241
"examples": [
242242
"/usr/include/python3.14",
243243
"include/python3.14"
244244
]
245245
},
246246
"pkgconfig_path": {
247247
"type": "string",
248-
"description": "The path to the pkg-config definition files.\n\nEither an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field **MUST** be present if the Python implementation provides pkg-config definition files, otherwise this section will be missing.",
248+
"description": "The path to the pkg-config definition files.\n\nEither an absolute path, or a path relative to ``base_prefix``.\n\nThis field **MUST** be present if the Python implementation provides pkg-config definition files, otherwise this section will be missing.",
249249
"examples": [
250250
"/usr/lib/pkgconfig",
251251
"lib/pkgconfig"

0 commit comments

Comments
 (0)