[wxPython] install wxpython 2.3.3.1 Debian Woody

Hello,

    I use Debian Woody, Python 2.2, and I'm indend to install wxpython 2.3.3.1. Which is the better solution?

    1. Create a .deb package from wxPythonGTK-py2.2-2.3.3.1-1.i386.rpm with alien & install.
    2. Create a .deb package from wxPythonSrc-2.3.3.1.tar.gz & install.
        (I would prefer one of these above.)
    3. Install it "on traditional way" from source (wxPythonSrc-2.3.3.1.tar.gz)

Could be there any unofficial apt source to install from it? If a debian woody user has managed to install the new version of wxpython, please feel free to share his experience.

    thank you in advance

        Peter

Hi,

I use Debian Sid, and have no problem with a Debian install of wxWindows
and wxPython. I'd suggest you check the whole of wxWindows out of CVS,
as that included wxPython and all the Debian config scripts. There is a
single change you need to make to run with 2.2, that is in the
debian/control.in file. The section below is taken from that file.

<snip>
Package: libwxgtk=V-python
Architecture: any
Section: interpreters
Depends: python (>=2.1), python (<<2.2), ${shlibs:Depends}
Suggests: wxwin=V-doc, wxwin=V-examples
Conflicts: libwxgtk=V-python-contrib, python-wxwin
Replaces: libwxgtk=V-python-contrib, python-wxwin
Description: wxWindows Cross-platform C++ GUI toolkit (wxPython binding)
wxWindows is a class library for C++ providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version =V
currently supports subsets of GTK+, Motif, and MS Windows.
.
This package provides a Python binding to the wxGTK library and it's
contrib libs.
</snip>

The 'python (<<2.2)' directive in depends should read 'python (<<2.3)'
for it to build properly.

Just run debuild in the cvs directory and all the required packages will
be made including wxWindows 2.3.

Kind Regards

Mike Albon

ps. Some debian guru may have a better approach but this works for me

Ábrahám Péter wrote:

Hello,

   I use Debian Woody, Python 2.2, and I'm indend to install wxpython 2.3.3.1. Which is the better solution?

The Debian package maintainer for wxWindows and wxPython has (or will soon) submitted new packages for 2.3.3.1 so they should show up on the various package servers shortly.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn írta:

   I use Debian Woody, Python 2.2, and I'm indend to install wxpython 2.3.3.1. Which is the better solution?

The Debian package maintainer for wxWindows and wxPython has (or will soon) submitted new packages for 2.3.3.1 so they should show up on the various package servers shortly.

Ooops, I'm proved to be a little bit impatient. :-)) Since the source contains /debian directory and Mike Albon gave a tip the .deb packages were created easily with dpkg-buildpackage command. wxwin2.3-headers and libwxgtk2.3-contrib-dev packages should be installed with dpgk --force-overwrite command, but at the end all packages installed succesfully, and now wxPython 2.3.3 works fine on my Debian Woody system.

    Best regards,

            Peter