diff options
Diffstat (limited to 'python/google/protobuf/__init__.py')
-rwxr-xr-x | python/google/protobuf/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/google/protobuf/__init__.py b/python/google/protobuf/__init__.py index ed88480f..2a3c6771 100755 --- a/python/google/protobuf/__init__.py +++ b/python/google/protobuf/__init__.py @@ -30,4 +30,10 @@ # Copyright 2007 Google Inc. All Rights Reserved. -__version__ = '3.0.0a4' +__version__ = '3.0.0b3' + +if __name__ != '__main__': + try: + __import__('pkg_resources').declare_namespace(__name__) + except ImportError: + __path__ = __import__('pkgutil').extend_path(__path__, __name__) |