Commit 406b907f authored by Wyatt Lee Baldwin's avatar Wyatt Lee Baldwin

Exclude __pycache__ in find_packages.

--HG--
extra : rebase_source : fecc027e4355f36d779967683a213fb2d867d21a
parent c6669ca4
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment