[Distutils] finding my own version with setuptools

Ashley Walsh ashleywalsh at gmail.com
Wed Nov 9 04:55:44 CET 2005


Hi,

Is there an easy way for a module to uses its __name__ to identify  
the Distribution it comes from?  I had a look through pkg_resources  
but I couldn't see a straight forward way to do it, so I thought I'd  
ask.

The reason is that I want a console script log its version.

Cheers,
Ashley



More information about the Distutils-SIG mailing list