summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/bdist_rpm.py2
-rw-r--r--Lib/distutils/command/build_ext.py2
-rw-r--r--Lib/distutils/command/build_scripts.py2
-rw-r--r--Lib/distutils/command/install_data.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
index 7f58a1d..3302eea 100644
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -400,7 +400,7 @@ class bdist_rpm (Command):
]
for (rpm_opt, attr, default) in script_options:
- # Insert contents of file refered to, if no file is refered to
+ # Insert contents of file referred to, if no file is refered to
# use 'default' as contents of script
val = getattr(self, attr)
if val or default:
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 2ede447..c04036b 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -394,7 +394,7 @@ class build_ext (Command):
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
- # any sensible compiler will give precendence to later
+ # any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py
index 6467e65..17fae8f 100644
--- a/Lib/distutils/command/build_scripts.py
+++ b/Lib/distutils/command/build_scripts.py
@@ -46,7 +46,7 @@ class build_scripts (Command):
"""Copy each script listed in 'self.scripts'; if it's marked as a
Python script in the Unix way (first line matches 'first_line_re',
ie. starts with "\#!" and contains "python"), then adjust the first
- line to refer to the current Python intepreter as we copy.
+ line to refer to the current Python interpreter as we copy.
"""
outfiles = []
self.mkpath(self.build_dir)
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py
index 716febb..9193f91 100644
--- a/Lib/distutils/command/install_data.py
+++ b/Lib/distutils/command/install_data.py
@@ -18,7 +18,7 @@ class install_data (Command):
user_options = [
('install-dir=', 'd',
- "base directory for installating data files "
+ "base directory for installing data files "
"(default: installation base dir)"),
('root=', None,
"install everything relative to this alternate root directory"),