Bug in setuptool's findall
Hello, setuptools replaces distutl's findall() with: for base, dirs, files in os.walk(dir): print 'walk', base, dirs, files if base==os.curdir or base.startswith(os.curdir+os.sep): base = base[2:] if base: files = [os.path.join(base, f) for f in files] all_files.extend(filter(os.path.isfile, files)) This unfortunately will not follow directory symlinks (as followlinks is set to false in os.walk by default). This is NOT the behavior of the original findall; oddly enough, the new findall actually produces bugs relative to distutil's. -Aaron
Aaron Staley wrote:
This unfortunately will not follow directory symlinks (as followlinks is set to false in os.walk by default). This is NOT the behavior of the original findall; oddly enough, the new findall actually produces bugs relative to distutil's.
You'll likely have more response if you try `distribute` and see if you can reproduce there. Tarek may actually fix it ;-) Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Aaron Staley
-
Chris Withers