summaryrefslogtreecommitdiff
path: root/setuptools/__init__.py
diff options
context:
space:
mode:
authorWyatt Lee Baldwin <self@wyattbaldwin.com>2014-02-12 00:52:26 -0800
committerWyatt Lee Baldwin <self@wyattbaldwin.com>2014-02-12 00:52:26 -0800
commit406b907f1b790dc9aa9afbf9de1a4d07c7e21802 (patch)
tree23441e909b2694532b905e8e699f3811a498bfc4 /setuptools/__init__.py
parentc6669ca42c3e2afeb24660af404f72c606174353 (diff)
downloadpython-setuptools-git-406b907f1b790dc9aa9afbf9de1a4d07c7e21802.tar.gz
Exclude __pycache__ in find_packages.
--HG-- extra : rebase_source : fecc027e4355f36d779967683a213fb2d867d21a
Diffstat (limited to 'setuptools/__init__.py')
-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):