From 439f6f846869c8266954adfedad232933caaa813 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 3 May 2014 13:26:05 -0400 Subject: Restore traversal of symbolic links in find_packages. Fixes #195. --- setuptools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools') diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 8d46b6dd..d99ab2a6 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -78,7 +78,7 @@ class PackageFinder(object): """ 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: yield os.path.relpath(os.path.join(root, dir), base_path) -- cgit v1.2.1