X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/15177f5827a1af081edd4761411c3c73be891fee..f331b0da5cf221056181123e11fb50e5192b8cb9:/src/app/start.py diff --git a/src/app/start.py b/src/app/start.py index ee96981..9cfbd40 100755 --- a/src/app/start.py +++ b/src/app/start.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- """ lancement de l'application winwii @@ -9,11 +10,18 @@ $URL$ def main() : import pygame - from gui import PGUConfiguration + from minwii import MinWii + pygame.init() modeResolution = (1024,768) - window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN) - pgu = PGUConfiguration(window) + #modeResolution = (600,480) + window = pygame.display.set_mode(modeResolution)#, pygame.FULLSCREEN) + MinWii() + # from gui.PGUConfiguration import PGUConfiguration + # pygame.init() + # modeResolution = (1024,768) + # window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN) + # pgu = PGUConfiguration(window) pygame.quit() if __name__ == "__main__" : @@ -23,7 +31,5 @@ if __name__ == "__main__" : minwiipath = realpath(__file__).split(sep) minwiipath = minwiipath[:-2] minwiipath = sep.join(minwiipath) - - sys.path.append(minwiipath) - print sys.path + sys.path.insert(1, minwiipath) main() \ No newline at end of file