bootstrap.py fails if there is a system-wide install of the desired buildout version

Bug #1029715 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Buildout
New
Undecided
Unassigned

Bug Description

Hi,

bootstrap.py is very careful to avoid site.py, and carefully works around the fact that
distutils imports site.py.

However, it then calls out to setuptools/distribute with the -S flag. That code imports
distutils though, so site.py is imported anyway.

If distribute finds a system-wide install of the desired version it will consider the requirement
satisfied, but because bootstrap.py doesn't have site-packages on sys.path it won't find
it, and so will fail.

The workaround is to remove the system-wide install, or request a different version of
buildout to the one installed system-wide.

Thanks,

James

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.