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

    Hi,

    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.


    Regards,
    SZ


    " 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: http://au.mobile.yahoo.com/mail
    Mr SZ, Jun 29, 2009
    #1
    1. Advertising

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.

Share This Page