Use pkgutil instead of pkg_resources to not depend on setuptools.