2.2 Build with configure.py

  1. Unpack PyQwt-4.2.tar.gz and read this README to check for patches.
  2. Configure PyQwt by running the following commands:
    cd PyQwt-4.2
    cd configure
    python configure.py
    
    This assumes that the correct Python interpreter is on your path. The configure.py script takes many options. Use the "-h" command line option to display a full list of the available options.
  3. The next step is to build PyQwt using your platform's make command (nmake for MSVC):
    make
    
  4. The final step is to install PyQwt by running the following command (nmake for MSVC):
    make install
    

Note: New: PyQwt-4.2 can be linked against an external Qwt-4.2.0 library (does not work with PyQwt and Qwt-4.2.0rcX release candidates). Run for instance:
python configure.py -i /usr/lib/qt3/include/qwt -l /usr/lib/qt3/lib
to use the Qwt include files in /usr/lib/qt3/include/qwt and the Qwt library in /usr/lib/qt3/lib.

Warning: If the make command produces a lot of errors on Linux, check if all development packages have been installed. Try the setup.py script in 2.3, because does a better job of detecting missing files than configure.py.