Click for bigger screenshot
More screenshots here...
The following thread is obsolete. To install SPE just do:
Code:
sudo apt-get install python-wxversion spe
The following thread remains for archiving purposes only.
Introduction
wxPython is a free GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. On Ubuntu it uses GTK. I'd like to thank Robin Dunn, the author of wxPython, to make this all possible.
I've written SPE, a python IDE with auto-indentation, auto completion, call tips, syntax coloring, UML viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, drag&drop, context help, ... A special feature is SPE's ability to run interactively inside blender with a 3d object browser.
SPE integrates with XRCed (GUI designer) and ships with wxGlade (GUI designer), PyChecker (source code doctor), Kiki (regular expression console) and WinPdb (remote, multi-threaded debugger). SPE runs on Windows, Linux and Mac OS X.
First make sure you have the pythonX.X-dev package installed. In case you don't have do this in the terminal:
Code:
$sudo apt-get install python2.4-dev
wxPython
If you are only interested in SPE, you don't need the latest wxPython. You can skip this step safely. Just use the one of the Dapper repository:
Code:
$sudo apt-get install python-wxgtk2.6 python-wxtools python-wxversion
For more info see http://www.wxpython.org
Why
Unfortunately the latest wxPython packages are not available in the Dapper repositories, but luckily Robin Dunn makes them available through the wxPython repositories. wxPython not only makes SPE possible, but also a lot of other applications such as bittornado.
Installation
You'll need to add some lines to your sources.list. As such you'll always be updated when a new version of wxPython comes out.
If you have the package python wxgtk2.6 already installed you need to uninstall it first:
Code:
$sudo apt-get remove --purge python-wxgtk2.6 libwxgtk2.6-0
This might need to uninstall other packages as well. Don't worry! Write them down and install them later back again when you've finished this howto.
Code:
$sudo gedit /etc/apt/sources.list
Paste in these lines.
Code:
#wxPython official repositories
deb http://starship.python.net/crew/robind/wxPython/apt/ binary/
deb-src http://starship.python.net/crew/robind/wxPython/apt/ source/
Now update your Ubuntu system and install wxPython:
Code:
$sudo apt-get update
$sudo apt-get install python-wxgtk2.6 python-wxtools python-wxversion
That's all. You are now ready to install SPE.
Documentation
The best starting point is the wxPython demo.
There is a very active and helpfull wxPython community which communicates through the mailing list.
There are some free video tutorials available at showmedo.com.
You can read through the online wxdocs or the new wxPyDocs.
Also check Andrea Gavana's sexy widgets.
SPE
For more info see http://pythonide.stani.be
Installation
Shortly after each release a debian package SPE-wx*.deb will be available on the SPE website. I'd like to thank Marco Ferreira for doing this wonderful job. Also you need to install kiki (regular expression doctor) and wxglade (gui designer). To install simply type in a terminal:
Code:
$sudo apt-get install kiki python-wxglade
$wget http://download.berlios.de/python/spe_0.8.2a-0ubuntu2_all.deb
$sudo dpkg -i spe_0.8.2a-0ubuntu2_all.deb
This will create an entry for SPE in your start Menu under 'Programming'.
Uninstallation
Code:
$sudo dpkg -r SPE-wx*.deb
Documentation
The SPE manual is available at http://pythonide.stani.be/manual/html/manual.html with ads to sponsors SPE development.
As an alternative a clean pdf manual (
preview here) which you can print, will be emailed to everyone who
donates to SPE!!
There are also some free SPE video tutorials available at showmedo.com
Help: SPE is looking for MOTU fix
Unfortunately the SPE version in the repositories is probably deprecated or broken. I'd wish I had enough time to learn about MOTU and fix this, but unfortunately I don't. Marco did already some great efforts, but appearantly it still needs some help. Any Master of the Universe interested in this? See https://launchpad.net/distros/ubuntu....8.2a-0ubuntu1 It would be nice if SPE is available in the standard Ubuntu repositories.Please contact me if you are interested.