On Sat, Feb 23, 2013 at 09:54:44AM -0500, Jim Fulton wrote: > On Fri, Feb 22, 2013 at 1:29 PM, Lele Gaifax <[email protected]> wrote: > > Jim Fulton <[email protected]> writes: > > > >> The problem is that site-packages doesn't have a predictable > >> location, as demonstrated by the example given in this thread. On > >> some systems, there are multiple directories containing custom > >> modules. > > > > Sorry to insist (being dumb :), but couldn't buildout, that should know > > the list of explicitly requested distributions, sort the paths giving > > precedence to them? > > It *could* sort them by the order it encountered them when it was > computing the working set, however, if one of the requirements it > finds is in a system directory, and it happens to come early, the > system directory can have other distributions that shadow > distributions found by buildout.
And since distribute is usually in dist-packages on Ubuntu, and distribute is the first requirement needed for buildbot itself, I always get dist-packages as first item in sys.path in bin/buildout. And then all my buildouts fail because Ubuntu ships zope.interface 3.6.1 in dist-packages, and it is treated as a develop egg. Marius Gedminas -- "I'll be Bach." -- Johann Sebastian Schwarzenegger
signature.asc
Description: Digital signature
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
