Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
pkg-scripts/python-3.6.4-2.build.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
60 lines (48 sloc)
1.19 KB
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/sh | |
set -xe | |
PKG=python | |
VERSION=3.6.4 | |
BUILD=2 | |
PREFIX=/pkg/$PKG-$VERSION-$BUILD | |
#PREFIX=/dev/shm/$PKG-$VERSION-$BUILD | |
exec </dev/null | |
mkdir -p $PREFIX | |
cat >$PREFIX/profile <<-EOF | |
PATH=$PREFIX/bin:\$PATH | |
EOF | |
. $PREFIX/profile | |
mkdir -p $PREFIX/build | |
cd $PREFIX/build | |
test -e Python-$VERSION.tar.xz || wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.xz | |
test -d Python-$VERSION || tar xvf Python-$VERSION.tar.xz | |
cd Python-$VERSION | |
./configure \ | |
--prefix=$PREFIX | |
make -j $(nproc) | |
make install | |
python3 -m ensurepip | |
pip3 install -I pip | |
pip3 install ipython[all] | |
pip3 install SciPy NumPy Matplotlib pandas SymPy nose | |
pip3 install scikit-learn | |
pip3 install seaborn | |
pip3 install metaseq | |
pip3 install Mako | |
pip3 install meson | |
# Helpdesk 01/24/18 16:19, Sabrina Krakau | |
pip3 install cutadapt | |
#Helpdesk 03/26/18 14:19, Virginie Stanisla | |
pip3 install pygobject | |
# other popular packages | |
pip3 install python-bioformats | |
pip3 install umi-tools | |
pip3 install sphinx | |
pip3 install recommonmark | |
pip3 install fastcluster | |
pip3 install pydot | |
pip3 install pygraphviz | |
pip3 install deeptools | |
pip3 install HTSeq | |
pip3 install keras | |
# exit 1 # final test, inhibits 'closing' on success | |
exit |