Ok,
so I sent bug report about month ago. It was little problem with listbox:
something that worked on wxPython 2.6.3.3 and didn't on 2.8.0. I waited few
weeks and... see no progress. I can see that nobody - except Robin, who has
enough work without bugfixing - is trying to fix bugs for wxGTK (generally I
noticed only two more persons: one fixing for Mac and the other for Windows).
Correct me if I am wrong.
So instead of waiting I decided to do something as I have some spare time (not
too much, but hope this will suffice). But I'm going to work on fixing
problems ONLY if results will be immediately visible in Python - the only
language that I'm using wxWidgets with. I can do C++ programming and that's
not a problem for me. All I ask for is somebody who will tell me how to
transform some corrected wxWidgets code to be able to use it in Python (that
is called "create bindings", am I right?). Although I already managed to
succesfully compile some bindings (made by somebody else of course) e.g.
for 'tagpy' and I already know what is SWIG and Boost.Python and I can
partially understand this and that, I still don't know how to generate
complete bindings for wxPython, and how to do it efficiently. Understanding
this topic is crucial and I won't be able to help unless I learn it.
I'm asking: is there anybody who can tell me of any articles I should read/who
maybe even wrote howto that could help people like me getting started or
somebody who just knows anything that may be interesting to know. I need to
know exactly: how to take some piece of corrected wxWidgets code and make it
work in Python from generating source code for bindings to deploying ready
python modules somwhere in filesystem to be able to import it in my program.
I'm asking you for help cause otherwise searching by myself could take too
long time. My currently written application cannot wait that long (not to
mention those that wait to be written in the future:).
That's all I wanted to say. Now I'm waiting for response.
Unless you are changing wxWidgets APIs or correcting a bug in the SWIG
wrappers, you don't need to run swig. Build wxWidgets as normal and
wxPython using distutils. There's a howto and the setup.py file in the
wxPython source distribution (if you're planning on contributing
patches you should be working from CVS anyway) is well commented.
···
On 1/23/07, p_michalczyk <mailxbox2@o2.pl> wrote:
Ok,
so I sent bug report about month ago. It was little problem with listbox:
something that worked on wxPython 2.6.3.3 and didn't on 2.8.0. I waited few
weeks and... see no progress. I can see that nobody - except Robin, who has
enough work without bugfixing - is trying to fix bugs for wxGTK (generally I
noticed only two more persons: one fixing for Mac and the other for Windows).
Correct me if I am wrong.
So instead of waiting I decided to do something as I have some spare time (not
too much, but hope this will suffice). But I'm going to work on fixing
problems ONLY if results will be immediately visible in Python - the only
language that I'm using wxWidgets with. I can do C++ programming and that's
not a problem for me. All I ask for is somebody who will tell me how to
transform some corrected wxWidgets code to be able to use it in Python (that
is called "create bindings", am I right?). Although I already managed to
succesfully compile some bindings (made by somebody else of course) e.g.
for 'tagpy' and I already know what is SWIG and Boost.Python and I can
partially understand this and that, I still don't know how to generate
complete bindings for wxPython, and how to do it efficiently. Understanding
this topic is crucial and I won't be able to help unless I learn it.
I'm asking: is there anybody who can tell me of any articles I should read/who
maybe even wrote howto that could help people like me getting started or
somebody who just knows anything that may be interesting to know. I need to
know exactly: how to take some piece of corrected wxWidgets code and make it
work in Python from generating source code for bindings to deploying ready
python modules somwhere in filesystem to be able to import it in my program.
I'm asking you for help cause otherwise searching by myself could take too
long time. My currently written application cannot wait that long (not to
mention those that wait to be written in the future:).
That's all I wanted to say. Now I'm waiting for response.
p_michalczyk wrote:
So instead of waiting I decided to do something as I have some spare time (not too much, but hope this will suffice).
great! welcome aboard. It's good to have C++ savvy people that care about Python.
All I ask for is somebody who will tell me how to transform some corrected wxWidgets code to be able to use it in Python (that is called "create bindings", am I right?).
The build instructions are here --
http://www.wxpython.org/builddoc.php
you should be able to work with the CVS version that way.
And as someone pointed out, you may not need to re-build the SWIGed binding, if you haven't changed the C++ interface at all.
You also may want to join the wxPython-dev (and/or wx-dev) list:
http://www.wxpython.org/maillist.php
-Good luck,
Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov