Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r720 r497  
    1919                       [os.path.join("locale", language, "LC_MESSAGES",
    2020                                     "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 
     21data_files.append(("", ["logo.png",
     22                        "conn_grey.png", "conn_red.png", "conn_green.png"]))
    2623if os.name=="nt":
    2724    import py2exe
     
    2926    data_files.append(("", ["logo.ico"]))
    3027
    31     chromedriver = os.environ.get("CHROMEDRIVER")
    32     if chromedriver:
    33         data_files.append(("", [chromedriver]))
    34 
    3528    msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None
    3629    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, "*.*"))))
    3931
    4032    gtkRuntimeDir = os.environ["GTKRTDIR"] if "GTKRTDIR" in os.environ else None
     
    5547                           glob(os.path.join(gtkRuntimeDir, path, "*"))))
    5648
    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_files
    66 
    6749    with open("mlx-common.nsh", "wt") as f:
    6850            print >>f, '!define MLX_VERSION "%s"' % (mlx.const.VERSION)
    6951            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 
    7852
    7953long_description="""MAVA Logger X
     
    9771                 { "script" : "mlxupdate.py",
    9872                   "uac_info" : "requireAdministrator"}],
    99       options = { "py2exe" : { "includes": "gio, pango, atk, pangocairo, lxml._elementpath",
     73      options = { "py2exe" : { "includes": "gio, pango, atk, pangocairo",
    10074                               "skip_archive": True} },
    10175      zipfile = "library/.",
     
    10680
    10781if os.name=="nt":
    108     os.rename(os.path.join(scriptdir, "dist", "library", "libcef.dll"),
    109               os.path.join(scriptdir, "dist", "libcef.dll"))
    11082    mlx.update.buildManifest(os.path.join(scriptdir, "dist"))
    11183    with open(os.path.join(scriptdir, "dist", "Uninstall.conf"), "wt") as f:
Note: See TracChangeset for help on using the changeset viewer.