Changes in setup.py [720:09e2087e55b5:497:0ac65bf1abb7]
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r720 r497 19 19 [os.path.join("locale", language, "LC_MESSAGES", 20 20 "mlx.mo")])) 21 data_files.append(("", ["logo.png", "simbrief.html", 22 "conn_grey.png", "conn_red.png", "conn_green.png", 23 "mlx_cef_caller.sh", "mlx_cef_caller_secondary.sh", 24 "mlx_cef_caller.bat", "mlx_cef_caller_secondary.bat"])) 25 21 data_files.append(("", ["logo.png", 22 "conn_grey.png", "conn_red.png", "conn_green.png"])) 26 23 if os.name=="nt": 27 24 import py2exe … … 29 26 data_files.append(("", ["logo.ico"])) 30 27 31 chromedriver = os.environ.get("CHROMEDRIVER")32 if chromedriver:33 data_files.append(("", [chromedriver]))34 35 28 msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None 36 29 if msvcrDir: 37 data_files.append(("Microsoft.VC90.CRT", glob(os.path.join(msvcrDir, "*.*")))) 38 os.environ["PATH"] = os.environ["PATH"] + ";" + glob(os.path.join(msvcrDir))[0] 30 data_files.append(("Microsoft.VC90.CRT", glob(os.path.join(msvcrDir, "*.*")))) 39 31 40 32 gtkRuntimeDir = os.environ["GTKRTDIR"] if "GTKRTDIR" in os.environ else None … … 55 47 glob(os.path.join(gtkRuntimeDir, path, "*")))) 56 48 57 cefDir = os.environ.get("CEFDIR")58 if cefDir:59 for fileName in ["icudt.dll", "subprocess.exe"]:60 data_files.append(("", [os.path.join(cefDir, fileName)]))61 62 data_files.append(("locales",63 glob(os.path.join(cefDir, "locales", "*"))))64 65 print data_files66 67 49 with open("mlx-common.nsh", "wt") as f: 68 50 print >>f, '!define MLX_VERSION "%s"' % (mlx.const.VERSION) 69 51 f.close() 70 else:71 for (dirpath, dirnames, filenames) in os.walk("patches"):72 if filenames:73 filenames = [os.path.join(dirpath, filename)74 for filename in filenames]75 data_files.append((dirpath, filenames))76 77 78 52 79 53 long_description="""MAVA Logger X … … 97 71 { "script" : "mlxupdate.py", 98 72 "uac_info" : "requireAdministrator"}], 99 options = { "py2exe" : { "includes": "gio, pango, atk, pangocairo , lxml._elementpath",73 options = { "py2exe" : { "includes": "gio, pango, atk, pangocairo", 100 74 "skip_archive": True} }, 101 75 zipfile = "library/.", … … 106 80 107 81 if os.name=="nt": 108 os.rename(os.path.join(scriptdir, "dist", "library", "libcef.dll"),109 os.path.join(scriptdir, "dist", "libcef.dll"))110 82 mlx.update.buildManifest(os.path.join(scriptdir, "dist")) 111 83 with open(os.path.join(scriptdir, "dist", "Uninstall.conf"), "wt") as f:
Note:
See TracChangeset
for help on using the changeset viewer.