Commit 439f6f84 authored by Jason R. Coombs's avatar Jason R. Coombs

Restore traversal of symbolic links in find_packages. Fixes #195.

parent 118e2450
...@@ -78,7 +78,7 @@ class PackageFinder(object): ...@@ -78,7 +78,7 @@ class PackageFinder(object):
""" """
Return all dirs in base_path, relative to base_path Return all dirs in base_path, relative to base_path
""" """
for root, dirs, files in os.walk(base_path): for root, dirs, files in os.walk(base_path, followlinks=True):
for dir in dirs: for dir in dirs:
yield os.path.relpath(os.path.join(root, dir), base_path) yield os.path.relpath(os.path.join(root, dir), base_path)
......
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