[Pythonmac-SIG] autoconf and distutils
mark.asbach at post.rwth-aachen.de
Fri Mar 5 09:27:07 EST 2004
we're trying to port an open source application that includes an
embedded python interpreter. I've still got troubles with the Mac OS X
specific framework builds and my autoconf script.
What can I do to get information on compiler and linker parameters
necessary to compile my custom interpreter? On conventional UNIX
installs I will need "-L/usr/local/lib/python2.x/config -lpython2.x"
while I have to use "-framework Python" with framework builds. It's
messy to search paths and guess from the files present, which one is
the case. Unfortunately, I couldn't find detailed documentation of the
distutils, where I would search for information like this.
The best solution would be a set of python scripts that would give the
desired flags for the interpreter it is run on. This way I could
provide a "--with-python=/mypath/bin/pythonX.Y" configuration option
and have the rest detected automatically.
Thanks in advance,
More information about the Pythonmac-SIG