Changeset 875:8f22aae44a00


Ignore:
Timestamp:
06/25/17 12:21:57 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Children:
876:d9b953e53054, 879:657c4c4dc357
Phase:
public
Message:

The MSVC C runtime manifest is added

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r808 r875  
    1919                       [os.path.join("locale", language, "LC_MESSAGES",
    2020                                     "mlx.mo")]))
    21 data_files.append(("", ["logo.png",
    22                         "conn_grey.png", "conn_red.png", "conn_green.png"]))
     21
     22rootFiles = ["logo.png", "conn_grey.png", "conn_red.png", "conn_green.png"]
     23if os.name!="nt":
     24    rootFiles.append("Microsoft.VC90.CRT.manifest")
     25data_files.append(("", rootFiles))
    2326
    2427if os.name=="nt":
     
    2932    msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None
    3033    if msvcrDir:
    31         data_files.append(("Microsoft.VC90.CRT", glob(os.path.join(msvcrDir, "*.*"))))
     34        data_files.append(("Microsoft.VC90.CRT",
     35                           ["Microsoft.VC90.CRT.manifest"] +
     36                           glob(os.path.join(msvcrDir, "*.*"))))
    3237        os.environ["PATH"] = os.environ["PATH"] + ";" + glob(os.path.join(msvcrDir))[0]
     38
    3339
    3440    gtkRuntimeDir = os.environ["GTKRTDIR"] if "GTKRTDIR" in os.environ else None
     
    7076
    7177
    72 
    7378long_description="""MAVA Logger X
    7479
Note: See TracChangeset for help on using the changeset viewer.