python-hospital/hospital

assert_supported_python_version() accepts distribution name as argument

Opened this issue · 0 comments

Currently, it accepts only distribution object (fetched from pkg_resources.get_distribution()). Let's accept distribution name and encapsulate usage of pkg_resources.