[Distutils] buildout/setuptools slow as it scans the whole project dir

Reinout van Rees reinout at vanrees.org
Wed Apr 15 20:38:55 CEST 2015


Ionel Cristian Mărieș schreef op 15-04-15 om 19:04:
> Could this be the same problem 
> https://bitbucket.org/pypa/setuptools/issue/249/have-a-way-to-ingore-specific-dirs-when 
> ?
Yes, that's the same.

Though: normally reading such a dir structure shouldn't take long. See 
my other answer, in my case the problem was symlinks going to a 
different filesystem.

>
> I frequently have this issue (.tox dir can sometimes get quite large) 
> and I resorted to monkeypatching setuptools (I know, right?) in 
> ~/.local/lib/python2.7/site-packages/usercustomize.py:
I like it :-)

Reinout

-- 
Reinout van Rees                          http://reinout.vanrees.org/
reinout at vanrees.org                   http://www.nelen-schuurmans.nl/
"Learning history by destroying artifacts is a time-honored atrocity"




More information about the Distutils-SIG mailing list