Search This Blog

27 April 2011

zc.buildout in Ubuntu 10.04 LTS

you have a nice buildout in development and it's time to move to the production server

buildout bootstrap
./bin/buildout
.... 
     pkg_resources.Requirement.parse('zc.buildout')).location
AttributeError: 'NoneType' object has no attribute 'location'

ouch!

this workaround worked for me
sudo easy_install zc.buildout==1.4.4
buildout bootstrap

zc.buildout will upgrade itself (to 1.5.2 at the time of writing)

and ./bin/buildout will work again as it should

No comments:

Post a Comment