diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-16 01:14:28 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-16 01:14:28 +0800 |
commit | 9b7239126c2da9fbec135492c6813f69c9d616a5 (patch) | |
tree | 60cb019394ccc6af794d806ede551ceccd819b59 /python-five-filesystem/F-13/python-five-filesystem-__init__.py | |
parent | 00133f46cb4e60442c64c8c4192c8bad0dc3a657 (diff) | |
download | rpm-9b7239126c2da9fbec135492c6813f69c9d616a5.tar.gz rpm-9b7239126c2da9fbec135492c6813f69c9d616a5.tar.xz rpm-9b7239126c2da9fbec135492c6813f69c9d616a5.zip |
python-five-filesystem 1-1 to get the URL
Diffstat (limited to 'python-five-filesystem/F-13/python-five-filesystem-__init__.py')
-rw-r--r-- | python-five-filesystem/F-13/python-five-filesystem-__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python-five-filesystem/F-13/python-five-filesystem-__init__.py b/python-five-filesystem/F-13/python-five-filesystem-__init__.py new file mode 100644 index 0000000..2e2033b --- /dev/null +++ b/python-five-filesystem/F-13/python-five-filesystem-__init__.py @@ -0,0 +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__) |