# Internet Explorer wrapper (experimental)
BUILD_IEWIN = (os.name == 'nt')
-BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN
+BUILD_ACTIVEX = (os.name == 'nt') # new version of IEWIN and more
CORE_ONLY = 0 # if true, don't build any of the above
#----------------------------------------------------------------------
def msg(text):
- if sys.setup_is_main:
+ if hasattr(sys, 'setup_is_main') and sys.setup_is_main:
print text
return
root = self.root
- if WXPREFIX.startswith(root):
+ if root is None or WXPREFIX.startswith(root):
root = ''
for header, location in headers:
install_dir = os.path.normpath(root + WXPREFIX + location)