X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/15177f5827a1af081edd4761411c3c73be891fee..cc386bf1182f3c1b5744c73ad63bd635b3c2af53:/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