diff options
Diffstat (limited to 'stsci/__init__.py')
-rw-r--r-- | stsci/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stsci/__init__.py b/stsci/__init__.py new file mode 100644 index 0000000..a5133cc --- /dev/null +++ b/stsci/__init__.py @@ -0,0 +1,8 @@ +# This is a special __init__.py required to place sample_package under the +# stsci namespace package. There should be no other code in this module. +try: + from pkg_resources import declare_namespace + declare_namespace(__name__) +except ImportError: + from pkgutil import extend_path + __path__ = extend_path(__path__, __name__) |