2.1 Prerequisites

Warning: The documentation is for the future PyQwt-4.2.3 which is only available from CVS. The download page has links for the latest releases.

Note: You can install PyQwt-4.2.2 compiled for Qt3 side by side with PyQwt5 compiled for Qt3 and Qt4.

Build prerequisites for PyQwt-4.2.2.tar.gz:

  1. Python.
    Supported versions: Python-2.5.x, -2.4.x, and -2.3.x.
  2. Qt.
    Supported versions: Qt-3.3.x, and Qt-3.2.x.
  3. sip-4.5.2.tar.gz.
    Supported versions: SIP-4.5, and -4.4.x.
  4. Either PyQt-x11-gpl-3.17.tar.gz, or PyQt-mac-gpl-3.17.tar.gz.
    Supported versions: PyQt-3.17.x, and -3.16.x.

The source package PyQwt-4.2.2.tar.gz contains the sources of the Qwt-4.2.0 library with a patch to force an update of the axis scales after zooming. You have the option to compile and link those sources statically into PyQwt (easiest for most users).

However, the configure.py script lets you build PyQwt against a shared or static Qwt-4.2.0 library (not the 4.2.0rcX release candidates because of API enhancements).

To exploit the full power of the QwtPlot widget, you should install at least one the Numerical Python extensions: NumPy, numarray, or Numeric.

I am using NumPy-1.0.1.tar.gz, numarray-1.5.2.tar.gz, and Numeric-24.2.tar.gz. NumPy is actively developed and recommended. numarray and Numeric are unmaintained.