From c8e04b9baffe8b6ccbcdbe96c129b6f0ca1b1d7c Mon Sep 17 00:00:00 2001 From: Niclas Hofmann Date: Wed, 4 Jul 2018 12:02:16 +0200 Subject: [PATCH] python3: Add version 3.6.6 and add module blink1 Install latest 3.6 version and add module blink1. --- python-3.6.6-0.build.sh | 63 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100755 python-3.6.6-0.build.sh diff --git a/python-3.6.6-0.build.sh b/python-3.6.6-0.build.sh new file mode 100755 index 0000000..880476c --- /dev/null +++ b/python-3.6.6-0.build.sh @@ -0,0 +1,63 @@ +#! /bin/sh + +set -xe + +PKG=python +VERSION=3.6.6 +BUILD=0 +PREFIX=/pkg/$PKG-$VERSION-$BUILD +#PREFIX=/dev/shm/$PKG-$VERSION-$BUILD + +exec $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 + +# Blink1-lib 07/04/18 12:00, Niclas Hofmann +pip3 install blink1 + +# 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