On Nov 20, 2007, at 6:10 PM, Florian Friesdorf wrote:
> As I see it, it would be nicest to fix both, bootstrap, and
> buildout, to ...
>
> ... either move the position of site-packages in sys.path to the end
> of the sys.path[0:0] assignment (I did manually, and it solves the
> problem)
just as a side note, imho "site-packages" shouldn't be injected into
`sys.path` at all as it's put in there by default when you start a
python interpreter. that is, unless you run it with "-S", of course,
but then you explicitly request it to be excluded.
> ... or to never use setuptools installed system-wide, be it an egg
> or a package
>
> I think the first would be cleanest and further, no local setuptools
> egg
> should be installed, if there is a system-wide one, that could be used
> instead (given its not out-dated or something).
actually i think your second suggestion would be make more sense here
as the buildout should be as self-contained as possible. it would of
course require another download, but that should hurt too much, since
usually buildout's gonna download a lot of things anyway. and this
way you'd never end up with a version of setuptools that is too old
for buildout, either.
On Nov 20, 2007, at 6:10 PM, Florian Friesdorf wrote:
> As I see it, it would be nicest to fix both, bootstrap, and
> buildout, to ...
>
> ... either move the position of site-packages in sys.path to the end
> of the sys.path[0:0] assignment (I did manually, and it solves the
> problem)
just as a side note, imho "site-packages" shouldn't be injected into
`sys.path` at all as it's put in there by default when you start a
python interpreter. that is, unless you run it with "-S", of course,
but then you explicitly request it to be excluded.
> ... or to never use setuptools installed system-wide, be it an egg
> or a package
>
> I think the first would be cleanest and further, no local setuptools
> egg
> should be installed, if there is a system-wide one, that could be used
> instead (given its not out-dated or something).
actually i think your second suggestion would be make more sense here
as the buildout should be as self-contained as possible. it would of
course require another download, but that should hurt too much, since
usually buildout's gonna download a lot of things anyway. and this
way you'd never end up with a version of setuptools that is too old
for buildout, either.
best regards,
andi
-- zitc.de/ - <email address hidden> zitc.de/ pgp - http:// wwwkeys. de.pgp. net/ plone.org/ products/ plone
zeidler it consulting - http://
friedelstraße 31 - 12047 berlin - telefon +49 30 25563779
pgp key at http://
plone 3.0.3 released! -- http://