[Pythonmac-SIG] MySQL-python build instructions
Bob Ippolito
bob at redivi.com
Tue Apr 5 08:42:25 CEST 2005
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
More information about the Pythonmac-SIG
mailing list