edouard@116: import os edouard@116: edouard@116: PATH = os.environ["PATH"] edouard@116: instdir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) edouard@116: os.environ["PATH"] = ';'.join([ edouard@116: os.path.join(instdir, "msys2", "bin"), edouard@116: os.path.join(instdir, "msys2", "usr", "bin"), edouard@116: os.path.join(instdir, "msys2", "mingw32", "bin"), edouard@116: PATH edouard@116: ]) edouard@116: