Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r497 r654  
    2828    msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None
    2929    if msvcrDir:
    30         data_files.append(("Microsoft.VC90.CRT",  glob(os.path.join(msvcrDir, "*.*"))))
     30        data_files.append(("Microsoft.VC90.CRT", glob(os.path.join(msvcrDir, "*.*"))))
     31        os.environ["PATH"] = os.environ["PATH"] + ";" + glob(os.path.join(msvcrDir))[0]
    3132
    3233    gtkRuntimeDir = os.environ["GTKRTDIR"] if "GTKRTDIR" in os.environ else None
     
    4647        data_files.append((os.path.join("library", path),
    4748                           glob(os.path.join(gtkRuntimeDir, path, "*"))))
     49
     50    cefDir = os.environ.get("CEFDIR")
     51    if cefDir:
     52        for fileName in ["icudt.dll", "subprocess.exe"]:
     53            data_files.append(("", [os.path.join(cefDir, fileName)]))
     54
     55        data_files.append(("locales",
     56                           glob(os.path.join(cefDir, "locales", "*"))))
     57
     58    print data_files
    4859
    4960    with open("mlx-common.nsh", "wt") as f:
     
    8091
    8192if os.name=="nt":
     93    os.rename(os.path.join(scriptdir, "dist", "library", "libcef.dll"),
     94              os.path.join(scriptdir, "dist", "libcef.dll"))
    8295    mlx.update.buildManifest(os.path.join(scriptdir, "dist"))
    8396    with open(os.path.join(scriptdir, "dist", "Uninstall.conf"), "wt") as f:
Note: See TracChangeset for help on using the changeset viewer.