mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
contrib/install-pysolfc.sh: pip install pygame for sound output (#180)
This commit is contained in:
parent
a8a262a68c
commit
da5b85c064
1 changed files with 9 additions and 9 deletions
|
@ -2,15 +2,15 @@
|
||||||
set -Cefu
|
set -Cefu
|
||||||
|
|
||||||
: ${PKGTREE:=/usr/local/packages/PySolFC}
|
: ${PKGTREE:=/usr/local/packages/PySolFC}
|
||||||
PIP=("${PKGTREE}/env/bin/pip" install --no-binary :all:)
|
PIP="${PKGTREE}/env/bin/pip"
|
||||||
PYPROG="$(printf '%s/env/bin/python' "$PKGTREE")"
|
PYPROG="${PKGTREE}/env/bin/python"
|
||||||
VERSION="$(env PYTHONPATH=`pwd` "$PYPROG" -c 'from pysollib.settings import VERSION ; print(VERSION)')"
|
VERSION="$(env PYTHONPATH=`pwd` "$PYPROG" -c 'from pysollib.settings import VERSION ; print(VERSION)')"
|
||||||
XZBALL="$(printf 'dist/PySolFC-%s.tar.xz' "$VERSION")"
|
XZBALL="dist/PySolFC-${VERSION}.tar.xz"
|
||||||
reqs='six random2 pillow'
|
reqs=(pillow pygame random2 six)
|
||||||
|
|
||||||
make dist
|
make dist
|
||||||
for req in $reqs
|
|
||||||
do
|
"$PIP" install wheel
|
||||||
"${PIP[@]}" "$req"
|
"$PIP" install "${reqs[@]}"
|
||||||
done
|
|
||||||
"${PIP[@]}" --upgrade "$XZBALL"
|
"$PIP" install --upgrade "$XZBALL"
|
||||||
|
|
Loading…
Add table
Reference in a new issue