summaryrefslogtreecommitdiff
path: root/setuptools/command/install_lib.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-04-30 17:38:29 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-04-30 17:38:29 -0400
commit573c2c86d4d4f506a87a1fc16060f32c1386ad38 (patch)
treed8e3e14b773461dc4e555ff76d9c6180f958cee0 /setuptools/command/install_lib.py
parent0f0c892487277e25ce79a39477b193822f1edf79 (diff)
downloadpython-setuptools-git-573c2c86d4d4f506a87a1fc16060f32c1386ad38.tar.gz
Correct indentation and clarify meaning by using namespacing
--HG-- extra : amend_source : 20ab7547c8478eb084767fe701e627bdd462ba16
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r--setuptools/command/install_lib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index 63dc11fe..747fbabb 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -1,7 +1,7 @@
-from distutils.command.install_lib import install_lib as _install_lib
+import distutils.command.install_lib as orig
import os
-class install_lib(_install_lib):
+class install_lib(orig.install_lib):
"""Don't add compiled flags to filenames of non-Python files"""
def run(self):
@@ -34,7 +34,7 @@ class install_lib(_install_lib):
exclude = self.get_exclusions()
if not exclude:
- return _install_lib.copy_tree(self, infile, outfile)
+ return orig.install_lib.copy_tree(self, infile, outfile)
# Exclude namespace package __init__.py* files from the output
@@ -56,7 +56,7 @@ class install_lib(_install_lib):
return outfiles
def get_outputs(self):
- outputs = _install_lib.get_outputs(self)
+ outputs = orig.install_lib.get_outputs(self)
exclude = self.get_exclusions()
if exclude:
return [f for f in outputs if f not in exclude]