summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-05-14 08:34:17 -0400
committerluz paz <luzpaz@users.noreply.github.com>2021-05-14 08:34:17 -0400
commitc063b3af1ecbcea0f0cc63b941f5e2038be9efcb (patch)
tree6e5a6410fa4c3912bda6328bc9e0074c3d54ec37 /setuptools
parent317ad2c4c9edf793e65372e80ec2d64f4edf147f (diff)
downloadpython-setuptools-git-c063b3af1ecbcea0f0cc63b941f5e2038be9efcb.tar.gz
Fix misc. doc typos
Found via `codespell`
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/_distutils/ccompiler.py2
-rw-r--r--setuptools/_imp.py4
-rw-r--r--setuptools/_vendor/pyparsing.py2
-rw-r--r--setuptools/package_index.py2
-rw-r--r--setuptools/tests/environment.py2
-rw-r--r--setuptools/tests/test_easy_install.py4
-rw-r--r--setuptools/tests/test_windows_wrappers.py2
7 files changed, 9 insertions, 9 deletions
diff --git a/setuptools/_distutils/ccompiler.py b/setuptools/_distutils/ccompiler.py
index b38cf261..48d160d2 100644
--- a/setuptools/_distutils/ccompiler.py
+++ b/setuptools/_distutils/ccompiler.py
@@ -392,7 +392,7 @@ class CCompiler:
return output_dir, macros, include_dirs
def _prep_compile(self, sources, output_dir, depends=None):
- """Decide which souce files must be recompiled.
+ """Decide which source files must be recompiled.
Determine the list of object files corresponding to 'sources',
and figure out which ones really need to be recompiled.
diff --git a/setuptools/_imp.py b/setuptools/_imp.py
index 451e45a8..47efd792 100644
--- a/setuptools/_imp.py
+++ b/setuptools/_imp.py
@@ -41,12 +41,12 @@ def find_module(module, paths=None):
spec.loader, importlib.machinery.FrozenImporter):
kind = PY_FROZEN
path = None # imp compabilty
- suffix = mode = '' # imp compability
+ suffix = mode = '' # imp compatibility
elif spec.origin == 'built-in' or static and issubclass(
spec.loader, importlib.machinery.BuiltinImporter):
kind = C_BUILTIN
path = None # imp compabilty
- suffix = mode = '' # imp compability
+ suffix = mode = '' # imp compatibility
elif spec.has_location:
path = spec.origin
suffix = os.path.splitext(path)[1]
diff --git a/setuptools/_vendor/pyparsing.py b/setuptools/_vendor/pyparsing.py
index cf75e1e5..4cae7883 100644
--- a/setuptools/_vendor/pyparsing.py
+++ b/setuptools/_vendor/pyparsing.py
@@ -1625,7 +1625,7 @@ class ParserElement(object):
(see L{I{parseWithTabs}<parseWithTabs>})
- define your parse action using the full C{(s,loc,toks)} signature, and
reference the input string using the parse action's C{s} argument
- - explictly expand the tabs in your input string before calling
+ - explicitly expand the tabs in your input string before calling
C{parseString}
Example::
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 123e9582..8bec05e7 100644
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -161,7 +161,7 @@ def interpret_distro_name(
# Generate alternative interpretations of a source distro name
# Because some packages are ambiguous as to name/versions split
# e.g. "adns-python-1.1.0", "egenix-mx-commercial", etc.
- # So, we generate each possible interepretation (e.g. "adns, python-1.1.0"
+ # So, we generate each possible interpretation (e.g. "adns, python-1.1.0"
# "adns-python, 1.1.0", and "adns-python-1.1.0, no version"). In practice,
# the spurious interpretations should be ignored, because in the event
# there's also an "adns" package, the spurious "python-1.1.0" version will
diff --git a/setuptools/tests/environment.py b/setuptools/tests/environment.py
index bd3119ef..c0274c33 100644
--- a/setuptools/tests/environment.py
+++ b/setuptools/tests/environment.py
@@ -29,7 +29,7 @@ def run_setup_py(cmd, pypath=None, path=None,
if pypath is not None:
env["PYTHONPATH"] = pypath
- # overide the execution path if needed
+ # override the execution path if needed
if path is not None:
env["PATH"] = path
if not env.get("PATH", ""):
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index a3b2d6e6..4b2bb2b3 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -659,7 +659,7 @@ class TestSetupRequires:
dep_url = path_to_url(dep_sdist, authority='localhost')
test_pkg = create_setup_requires_package(
temp_dir,
- # Ignored (overriden by setup_attrs)
+ # Ignored (overridden by setup_attrs)
'python-xlib', '0.19',
setup_attrs=dict(
setup_requires='dependency @ %s' % dep_url))
@@ -731,7 +731,7 @@ class TestSetupRequires:
with contexts.save_pkg_resources_state():
test_pkg = create_setup_requires_package(
str(tmpdir),
- 'python-xlib', '0.19', # Ignored (overriden by setup_attrs).
+ 'python-xlib', '0.19', # Ignored (overridden by setup_attrs).
setup_attrs=dict(
setup_requires='dep', dependency_links=[index_url]))
test_setup_py = os.path.join(test_pkg, 'setup.py')
diff --git a/setuptools/tests/test_windows_wrappers.py b/setuptools/tests/test_windows_wrappers.py
index fa647de8..27853aae 100644
--- a/setuptools/tests/test_windows_wrappers.py
+++ b/setuptools/tests/test_windows_wrappers.py
@@ -167,7 +167,7 @@ class TestGUI(WrapperTester):
""").strip()
def test_basic(self, tmpdir):
- """Test the GUI version with the simple scipt, bar-script.py"""
+ """Test the GUI version with the simple script, bar-script.py"""
self.create_script(tmpdir)
cmd = [