Skip to content Skip to sidebar Skip to footer

How To Easy_install Egg Plugin And Load It Without Restarting Application?

I'm creating an app that downloads and installs its own egg plugins, but I have a problem loading the egg after easy_install extracts it into place. This is how it works now: App

Solution 1:

After some browsing of the documentation I think what you need to do is

pkg_resources.get_distribution(name).activate()

where name is the name of the package you just installed.

Post a Comment for "How To Easy_install Egg Plugin And Load It Without Restarting Application?"