blob: 1dbaa0cf801167bd3ad1dabf554d3a3f8894f4c8 (
plain)
1
2
3
4
5
6
7
8
9
|
from pluginbase import PluginBase
base = PluginBase(package='dummy.modules')
plugin_source = base.make_plugin_source(
searchpath=['./plugins'])
# This dangles around. This will be collected when the interpreter
# shuts down.
hello = plugin_source.load_plugin('hello')
|