# targets to build
windows = [{
- 'script': self.script,
+ 'script': "src/minwii/runminwii.py",
'icon_resources': [(0, self.icon_file)],
'copyright': self.copyright
},
{
'script' : "src/minwii/logapp.py",
- 'icon_resources': [(0, self.icon_file)]
+ 'icon_resources': [(0, self.icon_file)],
'copyright' : self.copyright
}
- ]
- #console = [self.script],
+ ],
+ #console = ["src/minwii/logapp.py"],
options = {'py2exe': {'optimize': 2,
'bundle_files': 3,
#'compressed': True,
$URL$
"""
-from logfilereader import LogFileReader
+from minwii.logfilereader import LogFileReader
from pprint import pprint
-from musicxml import musicXml2Song
+from minwii.musicxml import musicXml2Song
from statlib import stats
DEFAULT_STATS = ('geometricmean',
from os.path import join as pjoin
from os.path import basename
from os.path import getsize
-from loganalyse import LogFileAnalyser
+from minwii.loganalyse import LogFileAnalyser
from pprint import pprint
class Application(Frame) :
$URL$
"""
+from types import StringTypes
from widgets.playingscreen import PlayingScreenBase
from eventutils import EventDispatcher
from events import eventCodes
""" logfile : chemin d'accès au fichier de log MinWii.
le format supporté est actuellement la version 1.0 uniquement.
"""
- if isinstance(logfile, str) :
+ if isinstance(logfile, StringTypes) :
self.logfile = open(logfile, 'r')
else :
self.logfile = logfile