mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 00:04:39 +02:00
Make 'powerline' a namespace package
This will allow third-party plugins to use the 'powerline' namespace for contributed segments. Refs #3.
This commit is contained in:
parent
7e14a84cc9
commit
57bd0af272
@ -0,0 +1,5 @@
|
||||
try:
|
||||
__import__('pkg_resources').declare_namespace(__name__)
|
||||
except ImportError:
|
||||
from pkgutil import extend_path
|
||||
__path__ = extend_path(__path__, __name__)
|
Loading…
x
Reference in New Issue
Block a user