diff options
| author | Wyatt Lee Baldwin <self@wyattbaldwin.com> | 2014-02-12 00:52:26 -0800 |
|---|---|---|
| committer | Wyatt Lee Baldwin <self@wyattbaldwin.com> | 2014-02-12 00:52:26 -0800 |
| commit | 406b907f1b790dc9aa9afbf9de1a4d07c7e21802 (patch) | |
| tree | 23441e909b2694532b905e8e699f3811a498bfc4 | |
| parent | c6669ca42c3e2afeb24660af404f72c606174353 (diff) | |
| download | python-setuptools-git-406b907f1b790dc9aa9afbf9de1a4d07c7e21802.tar.gz | |
Exclude __pycache__ in find_packages.
--HG--
extra : rebase_source : fecc027e4355f36d779967683a213fb2d867d21a
| -rw-r--r-- | setuptools/__init__.py | 2 |
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): |
