summaryrefslogtreecommitdiff
path: root/paste/__init__.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-09-04 19:35:38 +0000
committerianb <devnull@localhost>2006-09-04 19:35:38 +0000
commit54f6af6bfb71e393cc3a74f812338149f9ad2fdd (patch)
tree7c0148520e1fbdbc6642e2f6659c56dffa1a726b /paste/__init__.py
parent949016497f710e5cbccf7388a90896d1452906c7 (diff)
downloadpaste-54f6af6bfb71e393cc3a74f812338149f9ad2fdd.tar.gz
Auto-update of version strings
Diffstat (limited to 'paste/__init__.py')
-rw-r--r--paste/__init__.py5
1 files changed, 3 insertions, 2 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__)