Move from distribute to setuptools

The distribute and setuptools projects have merged, and distribute
is officially deprecated. This changeset removes the use of distribute,
and especially the dependency on distribute that causes the issue
reported as bug 147.

Change-Id: Id93c7050d577bc68b614b9fce37b56f43b3be6be