I've built MySQL-python, go fetch it from http://pythonmac.org/packages/

Note that it fails three of the tests it ships with, I don't know why, and I don't really care. I've never trusted MySQL-python, for reasons like this, but people seem to use it anyway.

If you need/want to build it yourself:

- Install egenix-mx-base
- Get the installer from mysql.com
- Install MySQL
- Do the following (because the setup.py in MySQL-python is dumb)::

        cd /usr/local/mysql/include
        sudo ln -s . mysql
        cd /usr/local/mysql/lib
        sudo ln -s . mysql

- Invoke setup.py like this:

        env PATH=/usr/local/mysql/bin:$PATH sudo python setup.py install

That should work.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to