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
|
||||
|
|
|
@ -5,7 +5,7 @@ from PyQt4.QtGui import *
|
|||
from PyQt4.QtNetwork import QNetworkAccessManager, QNetworkRequest, QNetworkReply
|
||||
from PyQt4.QtWebKit import QWebView
|
||||
|
||||
import os
|
||||
import os, sys
|
||||
|
||||
import array
|
||||
|
||||
|
|
Reference in a new issue