[Distutils] Building external libs with distutils

M.-A. Lemburg mal@lemburg.com
Thu May 17 11:36:03 2001


I was just wondering whether anybody has already tackled the
job of using distutils to build external libs. I am thinking
of the following setup here:

* you have a source tree in ./libsrc
* building the lib is done in the usual Unix way:
  cd ./libsrc; ./configure; make
* now copy te resulting .a or .so to your Python package
  target build dir
* continue with the normal distutils procedure to build the
  Python wrapper

Is this possible in a fairly portable way (at least with
respect to Unix platforms) ?

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/