From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2006-03-22 16:36:38


Martin Wille wrote:

> In case of Python, everything should be built in.
>
> Using
>
> python -c "import distutils.sysconfig; print\
> distutils.sysconfig.get_config_var('LIBS')
>
> one can query a lot of information from the installed Python package.
> Among the interesting variables to query are:
>
> LIBS, LIBPL, VERSION, LIBDIR, LIBDEST
>
> Using those, the build system could figure out most, probably even all,
> it needs.

In theory you are right. In practice, however, distutils reported wrong
libraries in one particular case (cygwin, IIRC). Oh well...

Regards,
                Stefan