Created
March 12, 2012 17:07
-
-
Save whitmo/2023390 to your computer and use it in GitHub Desktop.
doula-install.sh
This file contains hidden or 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
rm -rf $VIRTUAL_ENV/build | |
ZMQVERSION=zeromq-2.1.11 | |
if [ ! -d $ZMQVERSION ] | |
then | |
wget -O - "http://download.zeromq.org/${ZMQVERSION}.tar.gz" | tar -xvzf - | |
fi | |
pushd . > /dev/null | |
cd $ZMQVERSION | |
./configure --prefix $VIRTUAL_ENV | |
make; make install | |
ZMQ_DIR=$VIRTUAL_ENV pip install pyzmq | |
popd > /dev/null | |
mkdir $VIRTUAL_ENV/src | |
cd $VIRTUAL_ENV/src | |
pip install -e git+https://github.com/schmir/gevent.git#egg=gevent | |
git clone [email protected]:whitmo/gevent-zeromq.git | |
pip install distribute==0.6.14 | |
#python setup.py build_ext --inplace -I$VIRTUAL_ENV/include | |
pushd . | |
cd gevent-zeromq | |
pip install -e ./ | |
popd | |
pushd . | |
cd src | |
echo "<< Installing Doula and Bambino >>" | |
if [ ! -d ./Doula ] | |
then | |
git clone [email protected]:SurveyMonkey/Doula.git | |
fi | |
pip install -r Doula/develop.txt | |
pip install -e ./Doula | |
if [ ! -d ./Bambino ] | |
then | |
git clone [email protected]:SurveyMonkey/Bambino.git | |
fi | |
pip install -r Bambino/develop.txt | |
pip install -e ./Bambino | |
popd | |
rm -rf $VIRTUAL_ENV/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment