[Distutils] buildout 1 still not managing to pin buildout to 1.x

Tres Seaver tseaver at palladion.com
Mon Jun 10 19:57:14 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/10/2013 06:22 AM, Chris Withers wrote:
> Hi All,
> 
> So, having given up on buildout 2 for this package again (need for 2.5
>  support) I dutifully put in the bootstrap.py from buildout 1:
> 
> curl http://downloads.buildout.org/1/bootstrap.py > bootstrap.py
> 
> python2.5 on my mac didn't work, thanks to a broken system python, so
> on to 2.6, which appeared to go okay except:
> 
> buzzkill:checker chris$ bin/nosetests zc.buildout 2 needs distribute,
> not setuptools.  Are you using an outdated bootstrap.py?  Make sure
> you have the latest version downloaded from
> http://downloads.buildout.org/2/bootstrap.py
> 
> Great... Wonderful... I thought 1/bootstrap.py was supposed to pin to
>  buildout 1 for you without the need for any other voodoo?


Works for me:

 $ mkdir /tmp/withers
 $ cd /tmp/withers
 $ echo "[buildout]
 parts =" > buildout.cfg
 $ wget http://downloads.buildout.org/1/bootstrap.py
 ...
 $ /opt/Python-2.5.x/bin/python bootstrap.py
 Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-\
    0.6c11-py2.5.egg
 Creating directory '/tmp/withers/bin'.
 Creating directory '/tmp/withers/parts'.
 Creating directory '/tmp/withers/eggs'.
 Creating directory '/tmp/withers/develop-eggs'.
 Getting distribution for 'setuptools'.
 /opt/Python-2.5.5/lib/python2.5/distutils/dist.py:263: \
    UserWarning: Unknown distribution option: 'src_root'
     warnings.warn(msg)
 Got setuptools 0.7.2.
 Generated script '/tmp/withers/bin/buildout'.
 $ bin/buildout
 $ ls eggs
 setuptools-0.7.2-py2.5.egg  zc.buildout-1.7.1-py2.5.eg



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlG2E3oACgkQ+gerLs4ltQ4n0ACgnIJb6c4Wf/3i+sY57FY1BRGa
emgAoJdTohJwbWmhGCvhzt/Pbv9AJTGT
=Bn58
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list