#!/usr/bin/env python

import os
import subprocess
import sys

# TODO: release/debug

root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if sys.platform != "win32":
    cmd = ['make', '-C', root]
else:
    cmd = ['win_build.bat']

print ' '.join(cmd)
subprocess.call(cmd, shell=True)


@@ -223,16 +223,22 @@
 cmd = %5B'
+tools%5C
 win_buil

add tools path