wxPython on Slackware

Anyone who can help these folks out and make some good publicity for wxPython?
http://groups.google.com/group/alt.os.linux.slackware/browse_thread/thread/caeffe64b884d6e5/9cf1e0671cd4f38b?q=spe+python&rnum=2

Stani

The OP there instaledl a version of wxPython that isn't matching the
version of wxGTK that he built (or he built wx without building XRC,
but that shouldn't have happened unless he did it on purpose)

I find the tone of the list a little frustrating - building wx and
wxPython can be complicated, but not any more so than many other
packages, and it's a lot easier than building, say, x.org or even gtk.

One thing that would be nice is if setup.py using wx-config to find
the default install rather than than relying on it's predefined
defaults, though. Maybe I'll get around to making a patch for this
someday.

Here is my (from memory) process for building wxGTK and wxPython.
There are also BUILD and INSTALL files in the distribution that
explain the process fairly well. I'm not saying it's not hard (it is,
and it's even worse on Windows), but it's not so hard that "the devs
don't want anyone using it".

1: Download wxPython source tarball from wxpython.org. This is the
wxWidgets tree, no other source files should be needed (except for
headers & libs for dependent libraries, like mesa for opengl)

2: extract tarball & cd into directory

3: mkdir unicode-debug, cd unicode-debug

4: ../configure --with-opengl --enable-unicide --enable-debug
--enable-debug_flag --enable-debug_info --enable-debug_gdb

5: make && make install && ldconfig

6: cd contrib;make && make install && ldconfig

7: cd ../wxPython

8: python setup.py install UNICODE=1

This should build and install a working wxPython (unicode debug).
Remove the debug iidentifiers as appropriate.

ยทยทยท

On 2/20/06, SPE Stani's Python Editor <spe.stani.be@gmail.com> wrote:

Anyone who can help these folks out and make some good publicity for wxPython?
http://groups.google.com/group/alt.os.linux.slackware/browse_thread/thread/caeffe64b884d6e5/9cf1e0671cd4f38b?q=spe+python&rnum=2

Stani