make sure it works if pkg_resources is not available