summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvyn Sopacua <melvyn@magemana.nl>2014-07-05 18:41:12 +0200
committerMelvyn Sopacua <melvyn@magemana.nl>2014-07-05 18:41:12 +0200
commit3edc87b8f266bc4b75e6989f390656d2d7570034 (patch)
tree0c3779b342ace3355748af88f118ac2459536a0d
parent0239a4da1d74ac9b5ff948ab88fabf8a59fbb6d4 (diff)
downloadpython-setuptools-bitbucket-3edc87b8f266bc4b75e6989f390656d2d7570034.tar.gz
Commit the fix we did when testing python3
I shall `hg status` before submitting PRs. I shall `hg status` before submitting PRs. I shall `hg status` before submitting PRs.
-rw-r--r--setuptools/command/install_lib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index cf5375f6..7692e0f3 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -18,7 +18,7 @@ class install_lib(orig.install_lib):
.single_version_externally_managed)
exclude_names = ['__init__.py', '__init__.pyc', '__init__.pyo']
if hasattr(imp, 'get_tag') :
- exclude_names.extend(
+ exclude_names.extend((
os.path.join(
'__pycache__',
'__init__.' + imp.get_tag() + '.pyc'
@@ -27,7 +27,7 @@ class install_lib(orig.install_lib):
'__pycache__',
'__init__.' + imp.get_tag() + '.pyo'
),
- )
+ ))
if svem:
for pkg in nsp:
parts = pkg.split('.')