diff options
| -rw-r--r-- | paste/__init__.py | 5 | ||||
| -rw-r--r-- | setup.py | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/paste/__init__.py b/paste/__init__.py index 69391f2..fbf3130 100644 --- a/paste/__init__.py +++ b/paste/__init__.py @@ -2,7 +2,8 @@ # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php try: import pkg_resources - pkg_resources.declare_namespace('paste') + pkg_resources.declare_namespace(__name__) except ImportError: # don't prevent use of paste if pkg_resources isn't installed - pass + from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) @@ -2,7 +2,7 @@ # revision (set to True for real releases) RELEASE = False -__version__ = '0.9.8' +__version__ = '0.9.9' from setuptools import setup, find_packages import sys, os |
