This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
pip install virtualenv | |
virtualenv -p `which python2.7` env-mysql2pgsql | |
source env-mysql2pgsql/bin/activate | |
brew install mysql | |
brew unlink mysql | |
brew install mysql-connector-c | |
sed -i -e 's/libs="$libs -l "/libs="$libs -lmysqlclient -lssl -lcrypto"/g' /usr/local/bin/mysql_config | |
pip install MySQL-python | |
brew unlink mysql-connector-c |