Changeset 947:23ae37c287b6
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r938 r947 12 12 import mlx.const 13 13 import mlx.update 14 15 defaultManifest="""<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 16 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 17 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 18 <security> 19 <requestedPrivileges> 20 <requestedExecutionLevel level="asInvoker"/> 21 </requestedPrivileges> 22 </security> 23 </trustInfo> 24 <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> 25 <application> 26 <!--The ID below indicates application support for Windows Vista --> 27 <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> 28 <!--The ID below indicates application support for Windows 7 --> 29 <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> 30 <!--The ID below indicates application support for Windows 8 --> 31 <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> 32 <!--The ID below indicates application support for Windows 8.1 --> 33 <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> 34 <!--The ID below indicates application support for Windows 10 --> 35 <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> 36 </application> 37 </compatibility> 38 </assembly>""" 39 40 adminManifest=defaultManifest.replace("asInvoker", "requireAdministrator") 41 42 RT_MANIFEST=24 14 43 15 44 data_files = [("sounds", glob(os.path.join("sounds", "*.*")))] … … 183 212 requires = ["pyuipc", "xplra"], 184 213 windows = [{ "script" : "runmlx.py", 185 "icon_resources" : [(1, "logo.ico")]}, 214 "icon_resources" : [(1, "logo.ico")], 215 "other_resources": [(RT_MANIFEST, 1, defaultManifest)]}, 186 216 { "script" : "mlxupdate.py", 187 " uac_info" : "requireAdministrator"}],217 "other_resources": [(RT_MANIFEST, 1, adminManifest)]}], 188 218 options = { "py2exe" : { "packages" : "gi, lxml", 189 219 "skip_archive": True} },
Note:
See TracChangeset
for help on using the changeset viewer.