[Distutils] Buildout 1.6.0 : can't init new environment (I don't need bootstrap package)

Takayuki Shimizukawa shimizukawa at gmail.com
Sat Aug 18 08:32:12 CEST 2012


Hi,

I'm trying to create new buildout environment with zc.buildout-1.6.0, but...::

   D:> python bootstrap.py -d init
   Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
   -snip-
   c:\users\taka\appdata\local\temp\tmpb0blmq\distribute-0.6.28-py2.7.egg
   Creating 'D:\\bo16\\buildout.cfg'.
   Creating directory 'D:\\bo16\\bin'.
   Creating directory 'D:\\bo16\\parts'.
   Creating directory 'D:\\bo16\\develop-eggs'.
   Generated script 'D:\\bo16\\bin\\buildout'.
   Installing py.
   Getting distribution for 'pycrypto'.
   warning: GMP or MPIR library not found; Not building
Crypto.PublicKey._fastmath.
   error: Setup script exited with error: Unable to find vcvarsall.bat
   An error occurred when trying to install pycrypto 2.6. Look above
this message for any errors that were output by easy_install.
   While:
     Installing py.
     Getting distribution for 'pycrypto'.
   Error: Couldn't install: pycrypto 2.6


   D:> cat buildout.cfg
   [buildout]
   parts = py

   [py]
   recipe = zc.recipe.egg
   interpreter = py
   eggs =
     bootstrap

Why `bootstrap` package was required?

Ah, bootstrap.py invoke ``zc.buildout.buildout.main(['init',
'bootstrap'])`` (before buildout 1.6.0) but buildout-1.6.0 introduce
init command sub parameter to accepts distribution requirements as
like as ``python bootstrap.py init BeautifulSoup``.

Does bootstrap.py require 'bootstrap' argument?
https://github.com/buildout/buildout/blob/1.6.x/bootstrap/bootstrap.py#L156

-- 
Takayuki SHIMIZUKAWA


More information about the Distutils-SIG mailing list