add confwiz to py2exe build

including setting up the windows xp look and feel stuff.
This commit is contained in:
robk-tahoe 2008-01-11 18:42:27 -07:00
parent dba59050a9
commit 29277ed97b
2 changed files with 32 additions and 0 deletions

BIN
windows/amdicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -3,11 +3,43 @@ import py2exe
import glob 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 = { setup_args = {
'name': 'Tahoe', 'name': 'Tahoe',
'description': 'Allmydata Tahoe distributated storage', 'description': 'Allmydata Tahoe distributated storage',
'author': 'Allmydata, Inc.', 'author': 'Allmydata, Inc.',
'windows': [ 'windows': [
{
'script': 'confwiz.py',
'icon_resources': [(1, 'amdicon.ico')],
'other_resources': [(24,1,lnf_manifest%'Allmydata Tahoe Config Wizard')],
},
], ],
'console': [ 'console': [
'tahoe.py', 'tahoe.py',