summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py
index d1288658..ff24c178 100644
--- a/setuptools/__init__.py
+++ b/setuptools/__init__.py
@@ -38,7 +38,7 @@ def find_packages(where='.', exclude=()):
"""
out = []
stack=[(convert_path(where), '')]
- exclude = list(exclude) + ['ez_setup']
+ exclude = list(exclude) + ['ez_setup', '*__pycache__']
while stack:
where,prefix = stack.pop(0)
for name in os.listdir(where):