[Distutils] Bootstrapping Buildout 2.x without a network connection

Reinout van Rees reinout at vanrees.org
Mon Feb 18 10:44:02 CET 2013


On 17-02-13 03:25, Philippe Ombredanne wrote:
> The new bootstrap script for buildout 2.0 always attempt to download
> distribute_setup.py instead if distribute is not available:
> See:https://github.com/buildout/buildout/blob/ee709cfb00229fbd8fc8554db8ffffdf06a46808/bootstrap/bootstrap.py#L81
> exec(urlopen('http://python-distribute.org/distribute_setup.py').read()

Buildout 2 only works with distribute, not with setuptools. So it isn't 
unexpected that it downloads the distribute_setup.py.

So you'll have to use setuptools instead of distribute in your offline 
environment.


Reinout

-- 
Reinout van Rees                    http://reinout.vanrees.org/
reinout at vanrees.org             http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"



More information about the Distutils-SIG mailing list