Last active
August 29, 2015 14:17
-
-
Save gawel/b349491009c58d3df0f1 to your computer and use it in GitHub Desktop.
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
s3ql-* | |
pyenv |
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
#!/bin/bash | |
set -e | |
[ "`whoami`" = "root" ] && apt-get install libfuse-dev attr-dev sqlite3 libsqlite3-dev liblzma-dev make libssl-dev libbz2-dev pkg-config | |
PYTHON_VERSION=3.4.3 | |
S3QL_VERSION=2.13 | |
SQLITE3_VERSION=$(sqlite3 -version| cut -d' ' -f1) | |
APWS_URL=https://github.com/rogerbinns/apsw/archive/$SQLITE3_VERSION-r1.tar.gz | |
S3QL_URL=https://bitbucket.org/nikratio/s3ql/downloads/s3ql-$S3QL_VERSION.tar.bz2 | |
export MAKE_OPTS=-j4 | |
! [ -d pyenv ] && git clone [email protected]:yyuu/pyenv.git | |
export PYENV_ROOT=$PWD/pyenv | |
PIP=$PYENV_ROOT/versions/$PYTHON_VERSION/bin/pip | |
! [ -x $PIP ] && $PYENV_ROOT/bin/pyenv install -v $PYTHON_VERSION | |
$PIP install attr | |
$PIP install llfuse | |
$PIP install defusedxml | |
$PIP install pycrypto | |
$PIP install dugong | |
$PIP install $APWS_URL | |
$PIP install $S3QL_URL | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Otherwise works like a charm, thx !
BTW, can build faster with "export MAKE_OPTS=-j4".