From 5b265be6a423b8906b1069e75a66fcefcddf8a6b Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Tue, 14 Jun 2022 21:13:46 +0200 Subject: [PATCH] fixed some spelling mistakes, that's all :) --- docs/deprecated/commands.rst | 2 +- docs/deprecated/distutils-legacy.rst | 2 +- setuptools/config/_apply_pyprojecttoml.py | 2 +- setuptools/logging.py | 2 +- setuptools/tests/test_easy_install.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/deprecated/commands.rst b/docs/deprecated/commands.rst index e287ab8f07..ebd0687a8e 100644 --- a/docs/deprecated/commands.rst +++ b/docs/deprecated/commands.rst @@ -51,7 +51,7 @@ That is, you can simply list the normal setup commands and options following the pip install . # replacement for python setup.py install pip install --editable . # replacement for python setup.py develop - pip install installer # nees to be installed first + pip install installer # needs to be installed first python -m installer /path/to/wheel/file.whl ----------------- diff --git a/docs/deprecated/distutils-legacy.rst b/docs/deprecated/distutils-legacy.rst index e73cdff5a6..e106ce97b4 100644 --- a/docs/deprecated/distutils-legacy.rst +++ b/docs/deprecated/distutils-legacy.rst @@ -3,7 +3,7 @@ Porting from Distutils Setuptools and the PyPA have a `stated goal `_ to make Setuptools the reference API for distutils. -Since the 60.0.0 release, Setuptools includes a local, vendored copy of distutils (from late copies of CPython) that is enabled by default. To disable the use of this copy of distutils when invoking setuptools, set the enviroment variable: +Since the 60.0.0 release, Setuptools includes a local, vendored copy of distutils (from late copies of CPython) that is enabled by default. To disable the use of this copy of distutils when invoking setuptools, set the environment variable: SETUPTOOLS_USE_DISTUTILS=stdlib diff --git a/setuptools/config/_apply_pyprojecttoml.py b/setuptools/config/_apply_pyprojecttoml.py index 3bf8cc2b23..c33c8cc741 100644 --- a/setuptools/config/_apply_pyprojecttoml.py +++ b/setuptools/config/_apply_pyprojecttoml.py @@ -354,7 +354,7 @@ class _WouldIgnoreField(UserWarning): `{field} = {value!r}` - According to the spec (see the link bellow), however, setuptools CANNOT + According to the spec (see the link below), however, setuptools CANNOT consider this value unless {field!r} is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ diff --git a/setuptools/logging.py b/setuptools/logging.py index 15b57613f6..5d41c9882a 100644 --- a/setuptools/logging.py +++ b/setuptools/logging.py @@ -12,7 +12,7 @@ def configure(): """ Configure logging to emit warning and above to stderr and everything else to stdout. This behavior is provided - for compatibilty with distutils.log but may change in + for compatibility with distutils.log but may change in the future. """ err_handler = logging.StreamHandler() diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 73a8dfff08..246d634f21 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -1179,7 +1179,7 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmp_path) # == Arrange == # Pretend that build isolation was enabled - # e.g pip sets the environment varible PYTHONNOUSERSITE=1 + # e.g pip sets the environment variable PYTHONNOUSERSITE=1 monkeypatch.setattr('site.ENABLE_USER_SITE', False) # Patching $HOME for 2 reasons: