On Thu, Nov 4, 2010 at 5:19 PM, Ned Deily <report@bugs.python.org> wrote:

Ned Deily <nad@acm.org> added the comment:

For what it's worth, the python.org installers for Mac OS X do include a libpython shared library.  As of Python 2.7 (and 3.2), the installer includes a symlink to make it easier to find:

$ cd /Library/Frameworks/Python.framework/Versions/2.7/lib
$ ls -l libpython2.7.dylib

Ok.. so why is it called Python instead of Python.dylib?

/Library/Frameworks/Python.framework>file Python
Python: broken symbolic link to Versions/Current/Python

/Library/Frameworks/Python.framework/Versions/3.1>file Python
Python: Mach-O universal binary with 2 architectures
Python (for architecture ppc):  Mach-O dynamically linked shared library ppc
Python (for architecture i386): Mach-O dynamically linked shared library i386

Hmm .. i386? Oh dear, I'm running Snow Leopard and I generate 64 bit code.