Skip to content

Commit f25098a

Browse files
authored
Avoid duplication in warning text (pypa#3913)
2 parents c5a3d04 + 1d1f798 commit f25098a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setuptools/command/easy_install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,8 +2337,8 @@ class EasyInstallDeprecationWarning(SetuptoolsDeprecationWarning):
23372337
_SUMMARY = "easy_install command is deprecated."
23382338
_DETAILS = """
23392339
Please avoid running ``setup.py`` and ``easy_install``.
2340-
Instead, use pypa/build, pypa/installer, pypa/build or
2341-
other standards-based tools.
2340+
Instead, use pypa/build, pypa/installer or other
2341+
standards-based tools.
23422342
"""
23432343
_SEE_URL = "https://github.com/pypa/setuptools/issues/917"
23442344
# _DUE_DATE not defined yet

setuptools/command/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def initialize_options(self):
3434
"setup.py install is deprecated.",
3535
"""
3636
Please avoid running ``setup.py`` directly.
37-
Instead, use pypa/build, pypa/installer, pypa/build or
38-
other standards-based tools.
37+
Instead, use pypa/build, pypa/installer or other
38+
standards-based tools.
3939
""",
4040
see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
4141
# TODO: Document how to bootstrap setuptools without install

0 commit comments

Comments
 (0)