more windows py2exe fixes
This commit is contained in:
parent
b57395a585
commit
e38546cb2a
5 changed files with 16 additions and 10 deletions
|
@ -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
|
||||
|
|
Reference in a new issue