Using python to create windows apps that everyone can use?

exhuma.twn exhuma at gmail.com
Wed Sep 19 03:19:57 EDT 2007


On Sep 18, 9:22 pm, "Matt McCredie" <mccre... at gmail.com> wrote:
> On 9/18/07, Thomas Harding <tomhard... at inbox.com> wrote:
>
> > Hi guys, sorry to post another topic on this, as I am aware that it has
> > already been posted a few times, but not with specifically what I am looking
> > for. I want an app that makes a gui interface for python (similar to
> > Microsoft visual studio or qt designer, not a code based one) and/or an app
> > that can make this into a .exe that can be opened by any person on any
> > computer without python installed.
>
> check out py2exe:http://py2exe.org
>
> matt

Oh... I forgot. With newer versions of Qt, you have to adapt the setup
script a bit. Here's an example (even with an icon-resource ) ;)

setup(windows=['ide.py'], options={"py2exe":{
   "includes":["sip", "PyQt4._qt"],
   "icon_resources":[(1,"gnucash.ico")]}})

The trick here, is to also add "PyQt4._qt" to the includes.




More information about the Python-list mailing list