mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
b98a53df92
git-svn-id: http://svn.pyinstaller.org/trunk@2 8dd32b29-ccff-0310-8a9a-9233e24343b1
9 lines
195 B
Python
9 lines
195 B
Python
import os
|
|
|
|
def hook(mod):
|
|
pth = str(mod.__path__[0])
|
|
if os.path.isdir(pth):
|
|
mod.__path__.append(
|
|
os.path.normpath(os.path.join(pth, '../win32comext')))
|
|
return mod
|