Pkg fixes

trying to join all efforts for solving the pkg issues.

still working on a docker based test
We did not depend on `distribute` before this change, that's what I meant.

We used `distutils` and `setuptools`.