Hi,
Hello!
After not so successful attempt to use D as the programming language
for our multi-platform desktop application, mainly due to lack of
decent GUI bindings, we're very strongly considering to abandon D and
use Python + Cython +wxPython.
Welcome to the only real GUI world 
Seeing about Phoenix project and considering that we would like to
start with Python3 code, I'm curious if there is some estimation when
wxPython with its python-3/wx-2.9.x support will be available?
Phoenix is already operational, and binaries are available for Windows
and Mac, and I believe it can be easily compiled on Linux. The binary
are currently available for Python 2.7 and Python 3.2, but only on 32
bit architectures (on Windows at least, I know nothing of Mac).
That being said, speaking of Windows, it's fairly easy to rebuild the
whole of Phoenix for whatever architecture you have (I use Python 2.7
and Python 3.2, both 64 bit, on Windows 7).
As far as I can see, you can already build fairly complex GUIs with
Phoenix, as most (all?) of the core classes are ported and a couple of
sub-packages (dataview and adv) should be in a fairly advanced state.
However, everything related to wx.lib (i.e., fancy owner-drawn
widgets, mixins, and so on) has yet to be ported, so you may not enjoy
the full power of wxPython if you decide to stick with Python 3 only
(and then again, you must have an *extremely* pressing good reason to
go with Python 3 only - which one, I can't fathom for the life of me).
Do you recommend using XRC for GUI in wxpython or generating the code
using something like wxFormBuilder?
As a matter of personal taste, I would recommend you design your GUIs
by hand-coding them. I always found XRC cumbersome and I only rarely
use wxGlade for the most simple (and yet boring) layouts. But then
again, it is a matter of personal taste. As far as I can tell, none of
the GUI builders supporting wxPython can possibly already support
Python 3, as Phoenix itself is not officially out.
We'll also need to generate Cython extensions for our custom code as
well as for some 3rd party C library, so can you recommend some
build/packaging tool for wxpython project?
That's a relatively broad subject: Cython extensions (as far as I know
and I am no expert) are just another *.pyd file (on Windows, at least)
that you need for your program to work correctly. Tools like py2exe,
PyInstaller and py2app should work relatively well on most
applications (and I threw at them some complex ones, and I don't
remember py2exe or PyInstaller complaining about that).
···
On 7 July 2012 19:30, Gour wrote:
--
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
# ------------------------------------------------------------- #
def ask_mailing_list_support(email):
if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #