openmedialibrary_platform/Darwin/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-nspkg.pth

2 lines
301 B
Text
Raw Normal View History

2013-10-11 17:28:32 +00:00
import sys,types,os; p = os.path.join(sys._getframe(1).f_locals['sitedir'], *('zope',)); ie = os.path.exists(os.path.join(p,'__init__.py')); m = not ie and sys.modules.setdefault('zope',types.ModuleType('zope')); mp = (m or []) and m.__dict__.setdefault('__path__',[]); (p not in mp) and mp.append(p)