To do contour plotting (and maybe speed up image support), I need to put a binary module into veusz. The contour plotting support is "almost there" - it does contours, but without much setting support. I'm going to use the C contour routine in matplotlib, which seems very nice.

The options are:

- Keep veusz 100% python only, and supply a veusz_helpers module
  containing (probably optional) binary components. Some things
  may not work without this (e.g. contours) installed. I may
  be able to use matplotlib for some parts of it if this library
  is not there.

- Put the binary module into veusz, and make it with distutils.
  This is fine, except that it will not be simply possible to run
  veusz from its directory without doing "setup.py install".

  I could, however, just carry on if the library has not been built,
  and just disable the parts of veusz which need it.

  The user could, again however, build the binary module with
  "setup.py build", and copy it into the main veusz directory.
  Veusz could also look in the build directory for the module
  if it cannot be found.

  This option would also require that different RPMs are needed for
  different architectures.

Opinions? Which is better?

Jeremy

--
Jeremy Sanders <[EMAIL PROTECTED]>
http://www.jeremysanders.net/                Cambridge, UK
Public Key Server PGP Key ID: E1AAE053

Répondre à