2.3.2 Build on Windows

Warning: This documentation is for the future PyQwt-3.10. Check the download page for the latest releases.

Warning: PyQwt_Qt230-3.8.win32-py2.3.exe is the latest ``non-commercial'' version of PyQwt on Window for QtWin230-NonCommercial.exe and PyQt-win-nc-3.8.exe, because Trolltech and Riverbank Computing have discontinued their non-commercial software. Hopefully, this situation will change with the availability of a new book on Qt programming including a non-commercial version of Qt-3.2. I will try to keep PyQwt-3.10.tar.gz working with the commercial releases of Qt and PyQt on Windows, but the installation instructions for Windows may be inaccurate or obsolete.

  1. Unpack PyQwt-3.10.tar.gz into for instance C:/MyStuff and read README to check out bug fixes and upgrades.
  2. Run
    cd PyQwt-3.10
    
  3. The commands
    python setup.py bdist
    
    or
    python setup.py bdist_wininst
    
    will make an installer in the sub-directory dist.

Note: The Distutils of Python-2.3.x refuse to compile extension modules with MSCV-7.0 when Python has been compiled with MSVC-6.0. If you do not want to recompile Python, edit get_build_version() in distutils/msvccompiler.py so that it returns a version matching MSVC.

Note: The PyQtDistutils rely on the environment variables QTDIR, TMAKESPEC for Qt-2.x and QMAKESPEC for Qt-3.x.

Note: If you are desperate, run:
python setup.py build --force >log.txt
and mail the file log.txt to the mailing list.