python-hospital / hospital

Tools to diagnose Python projects (supervision, monitoring).
Other
40 stars 8 forks source link

assert_supported_python_version() accepts distribution name as argument #37

Open benoitbryon opened 10 years ago

benoitbryon commented 10 years ago

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