File: __init__.py

package info (click to toggle)
libtpclient-py 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 444 kB
  • ctags: 849
  • sloc: python: 5,260; makefile: 49
file content (18 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
try:
	try:
		import pkg_resources
		pkg_resources.declare_namespace(__name__)
	except ImportError:
		import pkgutil
		__path__ = pkgutil.extend_path(__path__, __name__)
except Exception, e:
	import warnings
	warnings.warn(e, RuntimeWarning)

try:
	import modulefinder
	for p in __path__:
		modulefinder.AddPackagePath(__name__, p)
except Exception, e:
	import warnings
	warnings.warn(e, RuntimeWarning)