Python embedding & question about autoconf and dynamic linking

Albert Chin-A-Young china at foo.com
Wed Oct 3 19:07:22 EDT 2001


Mads Bondo Dydensborg <madsdyd at challenge.dk> wrote:
> On 1 Oct 2001, Titus Brown wrote:

>> >I will continue to hack on the KDE_CHECK_PYTHON script - what are you
>> >using for PyWX?
>> 
>> *blush* Nothing.  "Hey, does it compile?  Great!  Oops.  Missing symbols?
>> Post to the list."

> Well, Gerhard H?ring pointed out the distutils.sysconfig.get_config_vars
> function for me, which appears to solve most problems, at least for
> version 1.5.2 and forward. (Have not checked older versions).

> Together with the stuff I found in KDE_CHECK_PYTHON and the stuff from
> pygtk, I _think_ I may be able to hack together some autoconf stuff to
> resolve this for any version of Python, that is never than or 1.5.2 (Which
> is the version with RedHat 7.0 for what it is worth - not that I care so
> much about distributions, but that should mean that it is quite
> widespread. 

Xcircuit also embeds Python as an interpreter. It has switched to
autoconf so check it out as well:
  http://xcircuit.ece.jhu.edu/

-- 
albert chin (china at thewrittenword dot com)



More information about the Python-list mailing list