Uncompressed Option in Py2exe

Hi! I am using the manifest script found in http://wiki.wxpython.org/Py2exe%20with%20Python2.6 to create the correct Windows XP controls in the standalone executable GUI application. With the compressed option set to 1, I was able to get the controls to display with the XP theme. However, with this compressed option setting, some necessary data files were put into the library.zip file. Not being able to change how these data files are being opened for use, I changed the compressed option to FALSE in the py2exe script, and the standalone executable file was able to open/read the data files. Unfortunately, the controls are now displayed with the old Windows 97 theme! Is it possible to have the data files uncompressed and display the Window XP themed controls?

Thank you in advance for your help!

Sincerely,

MKubo

setup26Y.py (5.62 KB)

I've used compress=0 and bundle_files=3 before with no problems, so there is probably something else going on. You may want to fiddle with the optimize option too.

···

On 12/20/11 1:21 PM, kmskubo@verizon.net wrote:

Hi! I am using the manifest script found in
http://wiki.wxpython.org/Py2exe%20with%20Python2.6to create the correct
Windows XP controls in the standalone executable GUI application. With
the compressed option set to 1, I was able to get the controls to
display with the XP theme. However, with this compressed option setting,
some necessary data files were put into the library.zip file. Not being
able to change how these data files are being opened for use, I changed
the compressed option to FALSE in the py2exe script, and the standalone
executable file was able to open/read the data files. Unfortunately, the
controls are now displayed with the old Windows 97 theme! Is it possible
to have the data files uncompressed and display the Window XP themed
controls?
Thank you in advance for your help!

--
Robin Dunn
Software Craftsman

My setup script is something like this and I dont have theme problem.

options = {“py2exe”: {“compressed”: 1,
“optimize”: 1,
“includes”: includes,
“excludes”: excludes,
“packages”: packages,
“dll_excludes”: dll_excludes,
“bundle_files”: 3,
“dist_dir”: “dist”,
“xref”: False,
“skip_archive”: False,
“ascii”: False,
“custom_boot_script”: ‘’,
}
},

zipfile = "lib.zip",
console = [],
windows = [GUI2Exe_Target_1, GUI2Exe_Target_2],
service = [],
com_server = [],
ctypes_com_server = []
)

Ozan HACIBEKIROGLU

···

2011/12/20 kmskubo@verizon.net

Hi! I am using the manifest script found in http://wiki.wxpython.org/Py2exe%20with%20Python2.6 to create the correct Windows XP controls in the standalone executable GUI application. With the compressed option set to 1, I was able to get the controls to display with the XP theme. However, with this compressed option setting, some necessary data files were put into the library.zip file. Not being able to change how these data files are being opened for use, I changed the compressed option to FALSE in the py2exe script, and the standalone executable file was able to open/read the data files. Unfortunately, the controls are now displayed with the old Windows 97 theme! Is it possible to have the data files uncompressed and display the Window XP themed controls?

Thank you in advance for your help!

Sincerely,

MKubo

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en