* Corey Richardson <co...@octayn.net> [120608 11:39]: > On Fri, 8 Jun 2012 09:55:23 -0800 > Tim Johnson <t...@akwebsoft.com> <t...@akwebsoft.com> wrote: > > > See the thread titled "Python libraries portable?" you will note > > that Corey Richardson makes the statement that MySQLdb is a C > > extension. I accepted that statement, but upon looking at the > > directories (I am on Mac Lion, but believe it may be the same for > > Linux) I see no binaries, just straight .py and .pyc files. > > > > http://mysql-python.hg.sourceforge.net/hgweb/mysql-python/MySQLdb-2.0/file/566baac88764/src > > It definitely is. The C extension part is the '_mysql' module, here it > is /usr/lib64/python2.7/site-packages/_mysql.so. MySQLdb (of which > _mysql is a part) uses that to provide a DB-API 2.0 compliant API. Understood. I missed that because the shared object file is in another directory. On mac (darwin) it is /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
-- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- http://mail.python.org/mailman/listinfo/python-list