Skip to content

Instantly share code, notes, and snippets.

@manpages
Created September 9, 2013 07:21
Show Gist options
  • Save manpages/6492413 to your computer and use it in GitHub Desktop.
Save manpages/6492413 to your computer and use it in GitHub Desktop.
Install pycoin and pycoinrpc.
#!/bin/bash
install_pycoin() {
git clone https://github.com/richardkiss/pycoin.git
cd pycoin
wget https://gist.github.com/manpages/6490935/raw/255b1c5fdcd3645b928665789f9ae13ead60020a/pycoin-fix-distutils.gitdiff
wget https://gist.github.com/manpages/6490946/raw/53b448b10fc26726cb6fe145f1da882da179bdb4/Makefile
git apply pycoin-fix-distutils.gitdiff
sudo make install
}
install_pycoinrpc() {
git clone https://github.com/manpages/pycoinrpc.git
cd pycoinrpc
sudo make install
}
echo "Installing pycoin and pycoinrpc..."
install_pycoin && install_pycoinrpc && echo "Success!" || echo "Failure :("
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment