Skip to content

Commit 2bda269

Browse files
committed
Small rewording for user-facing text/docs
1 parent c9513a5 commit 2bda269

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

changelog.d/3822.misc.2.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Added clarification about ``editable_wheel`` and ``dist_info`` CLI commands:
2-
they should not be called directly with ``python setup.py ...`` instead they
3-
are intended for internal use of ``setuptools`` (effectively as "private" commands).
4-
Users are recommended to user build backend APIs (:pep:`517` and :pep:`660`)
5-
in ``setuptools.build_meta``.
2+
they should not be called directly with ``python setup.py ...``.
3+
Instead they are reserved for internal use of ``setuptools`` (effectively as "private" commands).
4+
Users are recommended to rely on build backend APIs (:pep:`517` and :pep:`660`)
5+
exposed by ``setuptools.build_meta``.

setuptools/command/dist_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class dist_info(Command):
2020
"""
2121
This command is private and reserved for internal use of setuptools,
22-
clients should use the ``setuptools.build_meta`` APIs.
22+
users should rely on ``setuptools.build_meta`` APIs.
2323
"""
2424

2525
description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory"

setuptools/command/editable_wheel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def convert(cls, mode: Optional[str]) -> "_EditableMode":
111111
class editable_wheel(Command):
112112
"""Build 'editable' wheel for development.
113113
This command is private and reserved for internal use of setuptools,
114-
clients should use the ``setuptools.build_meta`` APIs.
114+
users should rely on ``setuptools.build_meta`` APIs.
115115
"""
116116

117117
description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel"

0 commit comments

Comments
 (0)