PageRenderTime 30ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/build/bdist.win32/winexe/temp/pygame.mask.py

https://bitbucket.org/anru/peterpackrat
Python | 13 lines | 10 code | 1 blank | 2 comment | 0 complexity | 98f009d0340e998d08c6704a3ca6240a MD5 | raw file
 1
 2def __load():
 3    import imp, os, sys
 4    try:
 5        dirname = os.path.dirname(__loader__.archive)
 6    except NameError:
 7        dirname = sys.prefix
 8    path = os.path.join(dirname, 'pygame.mask.pyd')
 9    #print "py2exe extension module", __name__, "->", path
10    mod = imp.load_dynamic(__name__, path)
11##    mod.frozen = 1
12__load()
13del __load