Using Python Spread Module 1.3 with Spread 3.17.x

In spread 3.17.x, the name of the Spread library with which the extension must be linked has changed. The following patch to setup.py takes care of linking with the new libtspread.a. (Linking with the shared library would be more work.) Here's the patch (also available as a text file:

*** setup.py	25 Apr 2002 19:22:07 -0000	1.9
--- setup.py	30 Sep 2002 19:30:12 -0000
***************
*** 21,27 ****
      ext = Extension('spread', ['spreadmodule.c'],
                  include_dirs = [SPREAD_DIR + "/include"],
                  library_dirs = [SPREAD_DIR + "/lib"],
!                 libraries = ['tsp'],
                  )
  
  setup(name = "Spread API for Python",
--- 21,27 ----
      ext = Extension('spread', ['spreadmodule.c'],
                  include_dirs = [SPREAD_DIR + "/include"],
                  library_dirs = [SPREAD_DIR + "/lib"],
!                 extra_objects = [SPREAD_DIR + '/lib/libtspread.a'],
                  )
  
  setup(name = "Spread API for Python",