On Wed, Apr 15, 2015 at 10:01 AM, Reinout van Rees <[email protected]> wrote: > Hi, > > In some of my projects, buildout takes a looooooong time to complete. > Sometimes the same problem occurs on the server or on another developer's > laptop, sometimes not. The difference is something like "15 seconds if > there's no problem" and "5 minutes if the problem occurs". ...
I wonder if the culprit is _dir_hash in zc.buildout.buildlout. Buildout reinstalls a part if it has changed. It considers a part to have changed if it's arguments have changed or it's recipe has changed. If a recipe is a develop egg, then it computes a hash for the recipe based on it's package contents. A quick thing to try might be to hack _dir_hash to be a noop (e.g. add ``return 42`` at the top and see if it makes the delay go away.) Jim -- Jim Fulton http://www.linkedin.com/in/jimfulton _______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
