The unit tests should not be installed as a package. Use setuptools instead of distutils.core for setup routine.