use pkg_resources API