Thu, 28 Apr 2011 19:36:25 +0200
Refined the last change and made final plug-in archive.
--- a/CxFreeze/CxfreezeConfigDialog.py Wed Apr 27 18:37:18 2011 +0200 +++ b/CxFreeze/CxfreezeConfigDialog.py Thu Apr 28 19:36:25 2011 +0200 @@ -63,7 +63,7 @@ if modpath: d = QDir(os.path.join(modpath, 'bases')) basesList = d.entryList(QDir.Filters(QDir.Files)) - if sys.platform == "win32": + if Utilities.isWindowsPlatform(): # strip the final '.exe' from the bases tmpBasesList = basesList[:] basesList = []
--- a/PluginCxFreeze.py Wed Apr 27 18:37:18 2011 +0200 +++ b/PluginCxFreeze.py Thu Apr 28 19:36:25 2011 +0200 @@ -74,11 +74,7 @@ @return name of the executable (string) """ # step 1: check for version 4.x -## exe = 'cxfreeze' - if sys.platform == "win32": -## exe += '.bat' -## if Utilities.isinpath(exe): -## return exe + if Utilities.isWindowsPlatform(): # # Windows #