You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
505 B
24 lines
505 B
if type(__path__)==type(''):
|
|
# For freeze to work!
|
|
import sys
|
|
try:
|
|
import mapi
|
|
sys.modules['win32com.mapi.mapi'] = mapi
|
|
except ImportError:
|
|
pass
|
|
try:
|
|
import exchange
|
|
sys.modules['win32com.mapi.exchange'] = exchange
|
|
except ImportError:
|
|
pass
|
|
try:
|
|
import exchdapi
|
|
sys.modules['win32com.mapi.exchdapi'] = exchdapi
|
|
except ImportError:
|
|
pass
|
|
else:
|
|
import win32com
|
|
# See if we have a special directory for the binaries (for developers)
|
|
win32com.__PackageSupportBuildPath__(__path__)
|
|
|