Re: Py2exe make wxPython window looks bad
- From: diffuser78@xxxxxxxxx
- Date: 30 Jun 2006 11:35:17 -0700
My question is not exactly related. In windows you create exe using
py2exe.
What is the Linux equivalent of it ? I am assuming you just make your
..py file executable by doint this. Please correct me if I am wrong.
***********************************
chmoad a+c file_name.py
***********************************
I recently wrote a small app using wxPython. It is meant to be run on
Windows and Linux both. In Windows I have created the exe as given in
py2exe.org.
What do I need to do in Linux if I need to distribute to people using
Linux who don't have all the dependent libraries installed in their
Linux distro ??
Every help is appreciated.
Thanks
zdp wrote:
Dear all:
I made a window program by wxPython. Split windows, treectrl, listctrl
and textctrl are used. When I program in python, the look & feel of the
window controls are like the windos XP look & feel, with thin and flat
border (My os is window XP). It's natural because, as I know, wxPython
use native look and feel.
But when I convert the program to EXE file by Py2exe, and run it, the
look & feel is bad. It's just like the windows 9x. All controls has a
thick and emboss border. However, the scrollbars look good, same as the
window XP.
So I'm puzzled. What's the problem and how can I get a XP look & feel
window program? Should I add some code in my program to set the look
and feel, or, set some options in py2exe script to force the generated
exe has specified look and feel?
The setup.py is very simple as following:
-------------setup.py---------------------
import sys, os
from distutils.core import setup
import py2exe
import glob
setup( name = "mainframe",
windows = ["mainframe.py"]
)
.
- References:
- Py2exe make wxPython window looks bad
- From: zdp
- Py2exe make wxPython window looks bad
- Prev by Date: Re: Module executed twice when imported!
- Next by Date: Re: sum fonction in gadfly
- Previous by thread: Re: Py2exe make wxPython window looks bad
- Next by thread: optparse multiple arguments
- Index(es):
Relevant Pages
|