2022-04-13 21:10:51 +00:00
|
|
|
#!/bin/sh
|
2022-01-25 15:53:41 +00:00
|
|
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
2022-06-27 00:53:01 +00:00
|
|
|
DIR=/tmp/appdwarf/pypy
|
2022-01-25 15:53:41 +00:00
|
|
|
mkdir -p $DIR
|
|
|
|
LINK="https://buildbot.pypy.org/nightly/py3.9/pypy-c-jit-latest-linux64.tar.bz2"
|
2022-06-27 00:53:01 +00:00
|
|
|
curl -L "$LINK" | tar xj -C$DIR
|
2022-01-25 15:53:41 +00:00
|
|
|
|
2022-06-27 00:53:01 +00:00
|
|
|
mv $DIR/pypy*/* $DIR
|
|
|
|
rm $DIR/bin/*.debug
|
|
|
|
ln -s bin/pypy $DIR/AppRun
|
2022-01-25 15:53:41 +00:00
|
|
|
|
2022-06-27 00:53:01 +00:00
|
|
|
$DIR/AppRun -m ensurepip
|
|
|
|
$DIR/AppRun -m pip install pipx
|
2022-01-25 15:53:41 +00:00
|
|
|
|
2022-06-27 00:53:01 +00:00
|
|
|
appdwarf $DIR
|
|
|
|
mv $DIR.sh pypy
|
|
|
|
rm -rf $DIR
|