X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/15177f5827a1af081edd4761411c3c73be891fee..0907833e1d87414215c13952336e2e8069042d31:/src/app/start.py diff --git a/src/app/start.py b/src/app/start.py index ee96981..11f2905 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) + 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