[Distutils] Q about best practices now (or near future)
vinay_sajip at yahoo.co.uk
Thu Jul 18 20:02:47 CEST 2013
Marcus Smith <qwcode <at> gmail.com> writes:
> pkg_resources scripts confirm the version. don't see that here? not
The load_entry_point needs the dist name because of how it's implemented - it
defers to the distribution instance. AFAICT there are no actual checks.
def load_entry_point(dist, group, name):
"""Return `name` entry point of `group` for `dist` or raise ImportError"""
return get_distribution(dist).load_entry_point(group, name)
More information about the Distutils-SIG