setuptools.find_packages() is much slower than it needs to be. #412
If you need convincing that this might be important, read on, otherwise just wait for my pull request :-)
In particular, it badly affects tox - a common Python testing tool used in development that runs tests against various versions of dependencies. tox creates virtual environments for each environment to test, and typically uses a local
These virtualenvs (of which there can easily be dozens) are stored in a
tox is not the only reason why the local dir could contain lots of files - other things like git/hg mean there can be many files in the local directory.
Issue #326 might be to do with this, but the original reporter seemed to think otherwise.
Thankfully, the issue is easily fixed - these hidden dirs are filtered away by the code, and all we need to do is filter them away earlier so that the recursive walk short-circuits. Pull request to follow.
The text was updated successfully, but these errors were encountered: