distutils: non-module compliation products

Jacek Generowicz jacek.generowicz at cern.ch
Tue Mar 9 10:55:33 CET 2004


I have a Python package which uses some other shared libraries
(written in C++). These shared libraries should be placed somewhere
other than in the Python package itself.

So far, I am pretending that the shared libraries in question are
extension modules, which means that distutils compile them as if they
were Python extension modules and place them in the location specified
by --install-lib (or options similar to --install-lib).

Does distutils provide be any means of

a) placing the auxiliary shared libraries outside --install-lib

b) compiling the libraries without all the Python extension-module
   gubbins ?


IOW, does distutils have a concept of a compliation product which is
not an extension module ?



More information about the Python-list mailing list