Pkg fixes

trying to join all efforts for solving the pkg issues.

still working on a docker based test
as I understand distribute is some sort embedded in setuptools, and distutils is overriden by setuptools. All this setuptools stuff is really a mess