I want to use wxPython, are there any pitfalls?

Hi Guys,

I played with wxPython a bit and I am very impressed by the efficiency
and ease of use. I don't know Python but it is pretty much self
explanatory how it all works..

I want to make a desktop Wiki tool, and already figured out that I can
use XRC from DialogBlocks to load in my python script. That's nice
because it saves a lot of effort. I installed PySqlite and wxPython
and I can access my DB, and GUI's show up very nicely!

Now for my question, when I want to distribute by tool with the least
dependency for the user, can I with Py2Exe for example also include
the PySqlite and wxPython inside the compiled python app? I want to
avoid that people have to install the whole (wx)python development env
for my app to run.

Thanks again,
- Jorgen Bodde

Jorgen Bodde wrote:

Now for my question, when I want to distribute by tool with the least
dependency for the user, can I with Py2Exe for example also include
the PySqlite and wxPython inside the compiled python app?

Yep, py2exe works well.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi Robin thanks for your reply, so when I install extra packages like
PySqlite, does it also incorporate the DLL that PySqlite uses etc? It
would be great if it becomes one big executable ofcourse ...

Regards,
- Jorgen

···

On 9/22/06, Robin Dunn <robin@alldunn.com> wrote:

Jorgen Bodde wrote:
>
> Now for my question, when I want to distribute by tool with the least
> dependency for the user, can I with Py2Exe for example also include
> the PySqlite and wxPython inside the compiled python app?

Yep, py2exe works well.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Jorgen Bodde wrote:

Hi Robin thanks for your reply, so when I install extra packages like
PySqlite, does it also incorporate the DLL that PySqlite uses etc? It
would be great if it becomes one big executable ofcourse ...

It's not perfect and sometimes you need to help it out a bit, but py2exe does an analysis of your app and finds the modules it imports, and the modules they import, and for those that are binary extension modules it also looks at DLL dependencies.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks Robin!

I am really impressed with wxPython, everything seems to work
flawlessly, good job!

- Jorgen

···

On 9/22/06, Robin Dunn <robin@alldunn.com> wrote:

Jorgen Bodde wrote:
> Hi Robin thanks for your reply, so when I install extra packages like
> PySqlite, does it also incorporate the DLL that PySqlite uses etc? It
> would be great if it becomes one big executable ofcourse ...

It's not perfect and sometimes you need to help it out a bit, but py2exe
does an analysis of your app and finds the modules it imports, and the
modules they import, and for those that are binary extension modules it
also looks at DLL dependencies.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org