winpaths.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 13 Feb 2023 22:12:51 +0100
changeset 117 3992523a7e6e
parent 116 dc462ee1c0f5
child 120 02e37d9e96a9
permissions -rw-r--r--
revision bump
import os

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