mysql_config not found osx

This always gets me when I try to install mysql-python on osx using pip:-

$pip install mysql-python

(ugly traceback, ending in:-)

EnvironmentError: mysql_config not found

Googling round finds that most people suggest editing a line in MySQL-python/site.cfg (wherever that is..), but my preferred solution is add the following line to my .profile:-

export PATH=$PATH:/usr/local/mysql/bin

This works for me – for a mysql installed from a package on mysql.com