Changeset 682:08e73d58a9e4 for setup.py


Ignore:
Timestamp:
10/01/15 18:11:10 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
cef
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

CEF is now started from Selenium

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r654 r682  
    2020                                     "mlx.mo")]))
    2121data_files.append(("", ["logo.png",
    22                         "conn_grey.png", "conn_red.png", "conn_green.png"]))
     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
    2326if os.name=="nt":
    2427    import py2exe
    2528
    2629    data_files.append(("", ["logo.ico"]))
     30
     31    chromedriver = os.environ.get("CHROMEDRIVER")
     32    if chromedriver:
     33        data_files.append(("", [chromedriver]))
    2734
    2835    msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None
     
    6168            print >>f, '!define MLX_VERSION "%s"' % (mlx.const.VERSION)
    6269            f.close()
     70else:
     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
    6378
    6479long_description="""MAVA Logger X
Note: See TracChangeset for help on using the changeset viewer.