Skip to content

Commit

Permalink
Merge pull request #12 from mariux64/paul-master
Browse files Browse the repository at this point in the history
Paul master
  • Loading branch information
donald authored Jan 24, 2018
2 parents c0e6ae7 + a143f98 commit 08ce2e1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions python-3.6.4-0.build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#! /bin/sh

set -xe

PKG=python
VERSION=3.6.4
BUILD=0
PREFIX=/pkg/$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

0 comments on commit 08ce2e1

Please sign in to comment.