[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    Re: [Distutils] Questions regarding the compilation of a
From:       Robert Kern <robert.kern () gmail ! com>
Date:       2007-07-25 18:49:30
Message-ID: f88601$snd$1 () sea ! gmane ! org
[Download RAW message or body]

James Dominy wrote:
> Hi,
> 
> I'm have a shared library that I would like to distribute along with my python \
> package, written in pure C. It requires the correct installation of other software \
> at linktime, and at runtime. The package a ctypes wrapper for SUNDIALS (a \
> mathematical C library).

You might want to take a look at OOF2. If includes a distutils command for
building a shared library. I believe it tries to install the library to
$prefix/lib which may not be what you want, but it might help you to find the
right incantation to at least build the thing.

  http://www.ctcms.nist.gov/oof/oof2/index.html

Will your code be open source? We have many requests for SUNDIALS wrappers on
the scipy list, and it would be great to satisfy them.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic