Changeset 27:d95d48685969 for setup.py
- Timestamp:
- 02/25/12 10:14:12 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r20 r27 8 8 sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), "src")) 9 9 10 import const10 import mlx.const 11 11 12 12 data_files = [] 13 13 if os.name=="nt": 14 14 import py2exe 15 16 data_files.append(("", ["src/mlx/logo.ico"])) 15 17 16 18 msvcrDir = os.environ["MSVCRDIR"] if "MSVCRDIR" in os.environ else None … … 27 29 28 30 with open("mlx-common.nsh", "wt") as f: 29 print >>f, '!define MLX_VERSION "%s"' % ( const.VERSION)31 print >>f, '!define MLX_VERSION "%s"' % (mlx.const.VERSION) 30 32 f.close() 31 33 … … 37 39 38 40 setup(name = "mlx", 39 version = const.VERSION,41 version = mlx.const.VERSION, 40 42 description = "MAVA Logger X", 41 43 long_description = long_description, … … 44 46 url = "http://mlx.varadiistvan.hu", 45 47 package_dir = { "" : "src" }, 46 packages = [""], 48 packages = ["mlx"], 49 package_data = { "mlx" : ["logo.ico", "logo_uninst.ico"] }, 47 50 requires = ["pyuipc"], 48 windows = [{ "script" : "src/runmlx.py" }], 51 windows = [{ "script" : "runmlx.py", 52 "icon_resources" : [(1, "src/mlx/logo.ico")]}], 49 53 options = { "py2exe" : { "includes": "gio, pango, atk, pangocairo"} }, 50 54 data_files = data_files,
Note:
See TracChangeset
for help on using the changeset viewer.