-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__main__.py
36 lines (34 loc) · 1.04 KB
/
__main__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import sys
import VroMADGUI
import VroMAD
from multiprocessing import freeze_support
if __name__ == "__main__":
#Avoid nasty cx_freeze exception
try:
sys.stdout.write("\n")
sys.stdout.flush()
except:
class fakeStream:
def __init__(self): pass
def write(self, data): pass
def read(self, data): pass
def flush(self): pass
def close(self): pass
sys.stdout = fakeStream()
sys.stderr = fakeStream()
sys.stdin = fakeStream()
sys.__stdout__ = fakeStream()
sys.__stderr__ = fakeStream()
sys.__stdin__ = fakeStream()
freeze_support()
gui = VroMADGUI.VroMADGUI()
#gui.populate()
gui.paint()
#vromad = VroMAD.VroMAD("../example", "../test/Dayshi vs Lucifron TvT Akilon Wastes Game 3.SC2Replay")
#vromad.extractPlayers()
#vromad.calcSimGauss()
#vromad.calcEuclidDist()
#gameProcessor = GameProcessor.GameProcessor("../example")
#player = Player.Player()
#gameProcessor.findFiles()
#gameProcessor.processFiles()