Changes in setup.py [497:0ac65bf1abb7:654:4ab835f44be6]
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r497 r654 28 28 msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None 29 29 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] 31 32 32 33 gtkRuntimeDir = os.environ["GTKRTDIR"] if "GTKRTDIR" in os.environ else None … … 46 47 data_files.append((os.path.join("library", path), 47 48 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 48 59 49 60 with open("mlx-common.nsh", "wt") as f: … … 80 91 81 92 if os.name=="nt": 93 os.rename(os.path.join(scriptdir, "dist", "library", "libcef.dll"), 94 os.path.join(scriptdir, "dist", "libcef.dll")) 82 95 mlx.update.buildManifest(os.path.join(scriptdir, "dist")) 83 96 with open(os.path.join(scriptdir, "dist", "Uninstall.conf"), "wt") as f:
Note:
See TracChangeset
for help on using the changeset viewer.