X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/15177f5827a1af081edd4761411c3c73be891fee..855472fc15f855881b98149078b6645309278b8a:/src/app/start.py?ds=sidebyside diff --git a/src/app/start.py b/src/app/start.py index ee96981..02db7ce 100755 --- a/src/app/start.py +++ b/src/app/start.py @@ -9,11 +9,17 @@ $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) + 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 +29,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