Wednesday, February 28, 2007

SPE now works on wxPython2.8 and how to switch

Today I switched on my laptop from wxPython2.6 to wxPython2.8 SPE seemed to work quite OK already, except: the bottom panel took too much place and was not draggable to a smaller size. After fixing this annoying bug, I am happily coding now with SPE on wxPython 2.8 For those who want to try out before I release, follow the subversion instructions. I tested the new SPE on Ubuntu (wxPython 2.6 & 2.8) and on Windows (wxPython 2.8). If anybody knows a good subversion client for the Mac, please comment.

sudo wxPython 2.8 has major new features such as AUI (Advanced User Interface), anti-alias graphics (Graphicscontext) and a lot of new widgets (RichTextCtrl, CustomTreeCtrl, SearchCtrl a la Firefox, ...). This might be useful for SPE in the future, but at the moment SPE stays backwards compatible with wxPython 2.6.

On Feisty wxPython is already included in repositories, just type:
sudo apt-get install python-wxgtk2.8
On Edgy you need to use the wxPython coummunity repositories. Open /etc/apt/sources.list:
sudo gedit /etc/apt/sources.list
Add the following lines:
# wxPython APT repository at
deb /
deb-src /
Then copy and paste these lines in a terminal:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n
If you want to use XRC gui designer, you need python-xml:
sudo apt-get install python-xml


  1. How difficult would it be to integrate ipython for the shell as opposed to the current shell.


    mountainpaul at gmail dot com

  2. @paul

    This is more a question for the ipython developpers. As soon as they support wxPython, I can integrate it.

  3. The link to subversion instructions does not work. Please provide.

  4. @Bruce
    Thanks for pointing out. I fixed the link.

  5. apt-get is dead, long live aptitude

    Ok apt-get is not really dead, but aptitude has all the same functionality, plus the functionality of apt-cache, plus is does better tracking of dependecies.

  6. I use svnX as a Subversion client on Mac, I'm pretty happy with it though there are some features missing (propedit is the main one).

  7. I second Chris, aptitude is much better than just apt-get. It's major advantage is, that it will uninstall packages which have only been installed to satisfy dependencies as soon as they are no longer needed. This makes keeping the system slim much much easier and you don't have to fiddle around with deborphan.

    As for a good svn client on OS X, I either use the command line, or if I want to get a better overview, I use SmartSVN.

  8. Regarding your reply regarding IPython inclusion: I just learned that, reputedly, IPython now does support wx...


Filter by topic: spe, python, ubuntu