Find the name of a setup tools plugin when its class is known.

Discussion in 'Python' started by Mr SZ, Jun 29, 2009.

  1. Mr SZ

    Mr SZ Guest


    Using pkg_resources, I can iterate through the plugins in an entrypoint and note down the plugin classes and all using "pkg_resources.iter_entry_points(ENTRYPOINT)"

    Now, when the plugin is loaded, I want to know it's entrypoint name as I have to load a bunch of settings identified by the name string.


    " life isn't heavy enough,it flies away and floats far above action"

    Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
    Show me how:
    Mr SZ, Jun 29, 2009
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.