I have some code that's extremely slow, I've traced it back to the use of pkg_resources.get_distribution
, I'm doing this:
# ...
pkg_resources.get_distribution(module_name).version
Is there an alternative library/method I can use that does the same thing?