aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_lib.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-26 10:07:07 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-26 10:07:07 -0400
commit23f5f548a9dfffe5c04f40eee461d2270ecf5f53 (patch)
treea1ff1f910eabfa1e71e427c35038a4906cfc73d9 /setuptools/command/install_lib.py
parentf6f409ac7dc06be2524211a717182cd96b21e13f (diff)
downloadexternal_python_setuptools-23f5f548a9dfffe5c04f40eee461d2270ecf5f53.tar.gz
external_python_setuptools-23f5f548a9dfffe5c04f40eee461d2270ecf5f53.tar.bz2
external_python_setuptools-23f5f548a9dfffe5c04f40eee461d2270ecf5f53.zip
Add comment
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r--setuptools/command/install_lib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index d1c91b7b..a1cbd2aa 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -32,7 +32,9 @@ class install_lib(orig.install_lib):
Generate file paths to be excluded for namespace packages (bytecode
cache files).
"""
+ # always exclude the package module itself
yield '__init__.py'
+
yield '__init__.pyc'
yield '__init__.pyo'