2.1.3 Build prerequisites for PyQwt on Windows
Build prerequisites for PyQwt-4.2.tar.gz on Windows are:
- Python-2.3.5.exe or python-2.4.msi.
Supported versions: Python-2.4.x, Python-2.3.x, Python-2.2.x, and probably
also Python-2.1.x.
- Qt.
Supported versions: Qt-3.3.x, Qt-3.2.x, Qt-3.1.x, Qt-3.0.x,
Qt-2.3.1 and Qt-2.3.0.
- sip-4.2.tar.gz (requires at least Python-2.3.0) or sip-3.11.1.tar.gz.
Supported versions: sip-4.2, -4.1.1, sip-4.1, -4.0.1, -4.0,
-3.11, -3.10.2, -3.10.1, and -3.10,
but the most recent version gets most testing.
You may also try a snapshot at your own risk.
- Buy PyQt or PyQt-win-edu-msvc-3.13.exe (or the evaluation release of PyQt).
Install the SIP tools in case of a PyQt installer.
Supported versions: PyQt-3.14, PyQt-3.13, -3.12, -3.11, and -3.10
but the most recent version gets most testing.
You may also try a snapshot at your own risk.
- Optional Numeric-23.7.win32-py2.3.exe and/or numarray-1.1.1.win32-py2.3.exe for Python-2.3.5.exe.
- Optional Numeric-23.7.win32-py2.4.exe and/or numarray-1.1.1.win32-py2.4.exe for python-2.4.msi.
- README for bug fixes and upgrades.
The source package PyQwt-4.2.tar.gz contains the sources of the Qwt-4.2.0
library with a few patches. 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:
Numeric or its successor numarray.
I am using Numeric-23.7.tar.gz and numarray-1.1.1.tar.gz.
Versions of Numeric later than 21.0 are supported.
Numarray is newer and therefore less stable than Numeric, so get the latest!
Note:
You must install sip and PyQt with the 'configure.py' script instead of the
deprecated 'build.py' script.
Warning:
Most installation problems are related to the presence of
old executables (sip.exe),
old libraries (libqt*.exp, libqt*.lib, lib.qt*.pyd,
libsip.exp, libsip.lib, libsip.pyd),
old header files (sip.h, sipQt.h)
or old Python files (qt*.py, qt*.pyc).