Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

  1. #1
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Arrow Howto: latest wxPython 2.6.3.3 and/or SPE 0.8.2.a (Feature rich Python IDE)


    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.
    Last edited by stani; November 30th, 2006 at 02:37 PM. Reason: obsolete

  2. #2
    Join Date
    May 2005
    Beans
    13

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Hi,

    Great tutorial. Just a small note when removing the standard packages from ubuntu repositories:

    Code:
    $sudo apt-get remove --purge python-wxgtk2.6
    I also encountered a conflict when installing the python-wxgtk2.6, it complained about the libwxgtk2.6-0. So I think it's good to remove it too before getting a new one.

    Code:
    $sudo apt-get remove libwxgtk2.6-0
    Before installing SPE from the .deb I had to install kiki and python-wxglade from the ubuntu repositories. Don't know why, but both packages had to be installed at the same time on my system

    Code:
    $sudo apt-get install kiki python-wxglade

  3. #3
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Thanks, I ve updated.

  4. #4
    Join Date
    Nov 2005
    Beans
    179

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Awesome! read closer, good tutorial! Don't need to remove anything.

    Original post b4 edit:

    It's not clear to me: so am supposed to remove anything or not to use just SPE?

    gracias,

    burgresso
    Last edited by Burgresso; July 25th, 2006 at 03:03 AM.

  5. #5
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Sorry, I don't understand your question. Please reformulate your question.

  6. #6
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    I have installed SPE from the repos and it works great. I'm already addicted to it.

    Keep up the good work!

  7. #7
    Join Date
    Feb 2006
    Location
    Brasil
    Beans
    244
    Distro
    Xubuntu 7.04 Feisty Fawn

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    I believe the new version in the repositiries is fixed now, right? I just installed it, and seems to be working fine

    (v. 0.8.2a+repack-0.1 )

  8. #8
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)


  9. #9
    Join Date
    Jan 2005
    Location
    Karlsruhe
    Beans
    201
    Distro
    Ubuntu 6.06

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Just one short question - are there plans for localized versions?

  10. #10
    Join Date
    Jan 2006
    Beans
    461
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: latest wxPython 2.6.3.3 & SPE 0.8.2.a (Feature rich Python IDE)

    Just one short question - are there plans for localized versions?
    Not at the moment.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •