]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
add confwiz to py2exe build
authorrobk-tahoe <robk-tahoe@allmydata.com>
Sat, 12 Jan 2008 01:42:27 +0000 (18:42 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Sat, 12 Jan 2008 01:42:27 +0000 (18:42 -0700)
including setting up the windows xp look and feel stuff.

windows/amdicon.ico [new file with mode: 0644]
windows/setup.py

diff --git a/windows/amdicon.ico b/windows/amdicon.ico
new file mode 100644 (file)
index 0000000..616240a
Binary files /dev/null and b/windows/amdicon.ico differ
index f401cc337d7961b1e0625b78c7ec8bc6dca8773a..35cba7f4986494f3175d984feeca1df9a14a3281 100644 (file)
@@ -3,11 +3,43 @@ import py2exe
 
 import glob
 
+lnf_manifest = """
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
+manifestVersion="1.0">
+<assemblyIdentity
+    version="0.64.1.0"
+    processorArchitecture="x86"
+    name="Controls"
+    type="win32"
+/>
+<description>%s</description>
+<dependency>
+    <dependentAssembly>
+        <assemblyIdentity
+            type="win32"
+            name="Microsoft.Windows.Common-Controls"
+            version="6.0.0.0"
+            processorArchitecture="X86"
+            publicKeyToken="6595b64144ccf1df"
+            language="*"
+        />
+    </dependentAssembly>
+</dependency>
+</assembly>
+"""
+
+
 setup_args = {
     'name': 'Tahoe',
     'description': 'Allmydata Tahoe distributated storage',
     'author': 'Allmydata, Inc.',
     'windows': [
+        {
+            'script': 'confwiz.py',
+            'icon_resources': [(1, 'amdicon.ico')],
+            'other_resources': [(24,1,lnf_manifest%'Allmydata Tahoe Config Wizard')],
+        },
     ],
     'console': [
         'tahoe.py',