Comment 14 for bug 158756

Revision history for this message
Andi Zeidler (witsch) wrote : Re: [Bug 158756] Re: system path should be ignorable/overridable
  • PGP.sig Edit (186 bytes, application/pgp-signature; x-mac-type=70674453; name=PGP.sig)

On Mar 28, 2008, at 2:49 PM, Jim Fulton wrote:
> As I've mentioned before, the location os setuptools has nothing to do
> with whether site-packages is used. site-packages is always used.

that's right, it is always used. however, normally it is only
implicitly added to the search path. using a globally installed
setuptools package makes buildout inject the path to `site-packages`
again explicitly into `sys.path`. the problem here is that this way
site-packages might get preferred over other versions of the same
package — please see the example transcript[*] i posted, which
demonstrates this behaviour. i've tried to keep it minimal, so it
should really only take a minute or two to see the problem...

imho, this is clearly a bug and could be easily resolved the way
florian suggested.

> I plan to add an option to exclude site-packages.

that won't help with this particular problem.

cheers,

andi

[*] https://bugs.launchpad.net/zc.buildout/+bug/158756/comments/7

--
zeidler it consulting - http://zitc.de/ - <email address hidden>
friedelstraße 31 - 12047 berlin - telefon +49 30 25563779
pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/
plone 3.1rc1 released! -- http://plone.org/products/plone/