File: __init__.py

package info (click to toggle)
ndg-httpsclient 0.4.2-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 252 kB
  • sloc: python: 1,147; makefile: 30; sh: 1
file content (11 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
try:
    import pkg_resources
    pkg_resources.declare_namespace(__name__)
except ImportError:
    # don't prevent use if pkg_resources isn't installed
    from pkgutil import extend_path
    __path__ = extend_path(__path__, __name__) 

import modulefinder
for p in __path__:
    modulefinder.AddPackagePath(__name__, p)