Skip to content
Permalink
master
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 36 lines (28 sloc) 695 Bytes
#! /bin/sh
set -xe
PKG=python
VERSION=3.6.0
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