Merge pull request #10 from alexandrainst/master

Declare namespace in ckanext/googleanalytics/__init__.py
This commit is contained in:
Nigel Babu 2014-07-10 14:15:15 +05:30
commit e45d73d7a3
1 changed files with 7 additions and 1 deletions

View File

@ -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__)