Ajout dossier app pour refactoring.
[minwii.git] / src / app / start.py
1 # -*- coding: utf-8 -*-
2 """
3 lancement de l'application winwii
4
5 $Id$
6 $URL$
7 """
8
9
10 def main() :
11 import pygame
12 from gui import PGUConfiguration
13 pygame.init()
14 modeResolution = (1024,768)
15 window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
16 pgu = PGUConfiguration(window)
17 pygame.quit()
18
19 if __name__ == "__main__" :
20 from os.path import realpath, sep
21 import sys
22
23 minwiipath = realpath(__file__).split(sep)
24 minwiipath = minwiipath[:-2]
25 minwiipath = sep.join(minwiipath)
26
27 sys.path.append(minwiipath)
28 print sys.path
29 main()