Skip to content

Instantly share code, notes, and snippets.

@puhoy
puhoy / boost + libtorrent in a virtualenv
Created May 22, 2016 20:25 — forked from jcsaaddupuy/boost + libtorrent in a virtualenv
Install boost + libtorrent in a virtualenv
#!/bin/bash
get_boost(){
wget -c "http://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.tar.gz"
[ $? -ne 0 ] && exit 1
tar xf boost_1_57_0.tar.gz
[ $? -ne 0 ] && exit 1
pushd ./boost_1_57_0
[ $? -ne 0 ] && exit 1
./bootstrap.sh --with-python=$(which python) --prefix=$VIRTUAL_ENV