summaryrefslogtreecommitdiff
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
commit5f5fa224d8b2a34ad13026aa85c7928acd1f06cf (patch)
tree158846fbb62107c70feea01b74a8e76f99e11050
parent8993c7b73cbcaed6afb50e28a80139506f794d8d (diff)
downloadpython-setuptools-bitbucket-5f5fa224d8b2a34ad13026aa85c7928acd1f06cf.tar.gz
Add comment
-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'