more windows py2exe fixes

This commit is contained in:
Jeena Paradies 2013-04-03 01:47:35 +02:00
parent b57395a585
commit e38546cb2a
5 changed files with 16 additions and 10 deletions

View file

@ -4,8 +4,9 @@ import os, sys, pickle, subprocess, shutil
from PyQt4 import QtCore, QtGui, QtWebKit, QtNetwork
RUNNING_LOCAL = os.path.basename(sys.argv[0]) == "Bungloo.py"
RUNNING_ON_WINDOWS = os.name == "nt"
if RUNNING_LOCAL:
if RUNNING_LOCAL or RUNNING_ON_WINDOWS:
import Windows, Helper
else:
from bungloo import Windows, Helper