How do I work around the "TypeError: dist must be a Distribution instance" problem when following the Swift-all-in-one instructions [closed]
I was following the instructions on this page: http://docs.openstack.org/developer/swift/development_saio.html
on a fresh Ubuntu 12.04.3 and all was fine until the line:
cd ~/swift; sudo python setup.py develop; cd -
when I got a lot of messages ending in the error:
TypeError: dist must be a Distribution instance
I googled the error and saw some discussion but nothing has got me over this problem.
I'm getting the same thing with the unified CLI running 13.04. It seems like this is a incompatibility with setuptools, but I can't figure out a way around it. The funning thing is the dist object seems to be an instance of Distribution at that point.