Source

pluginbuilder / pluginbuilder / __init__.py

Full commit
1
2
3
4
5
6
7
8
__version__ = '1.0.1'

# If we import build_plugin as top level imports, then it's impossible to get __version__ without
# importing pluginbuilder's dependencies first. So, import build_plugin only when it's called.

def build_plugin(*args, **kwargs):
    from .build_plugin import build_plugin as real_build_plugin
    real_build_plugin(*args, **kwargs)