Declare namespace in ckanext/googleanalytics/__init__.py
This commit is contained in:
parent
78cd2a95a6
commit
51c212c57c
|
@ -1 +1,7 @@
|
||||||
#
|
# this is a namespace package
|
||||||
|
try:
|
||||||
|
import pkg_resources
|
||||||
|
pkg_resources.declare_namespace(__name__)
|
||||||
|
except ImportError:
|
||||||
|
import pkgutil
|
||||||
|
__path__ = pkgutil.extend_path(__path__, __name__)
|
||||||
|
|
Loading…
Reference in New Issue