| git.druid.rocks | index | druid520 | ports | ports/ | languages/ | python/ | add.sh |
ports/languages/python/add.sh
set -e
git clone --depth 1 https://github.com/python/cpython.git python
cd python
./configure --prefix=$MP_PREFIX/python-git --with-openssl=$MP_PREFIX
make -j$MP_JOBS
make install
mkdir -p $MP_PREFIX/bin
ln -sf $MP_PREFIX/python-git/bin/python3 $MP_PREFIX/bin/python3
ln -sf $MP_PREFIX/python-git/bin/pip3 $MP_PREFIX/bin/pip3
make clean || true