mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-27 07:00:42 +00:00
28 lines
449 B
Bash
Executable File
28 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
function finish {
|
|
cd $owd
|
|
}
|
|
owd=$(pwd)
|
|
trap finish EXIT
|
|
|
|
cd $(dirname ${BASH_SOURCE[0]})
|
|
if ! source ./pyenv-older-versions ; then
|
|
exit $?
|
|
fi
|
|
if ! source ./setup-python-2.4.sh ; then
|
|
exit $?
|
|
fi
|
|
|
|
cd ..
|
|
for version in $PYVERSIONS; do
|
|
echo --- $version ---
|
|
if ! pyenv local $version ; then
|
|
exit $?
|
|
fi
|
|
make clean && python setup.py develop
|
|
if ! make check ; then
|
|
exit $?
|
|
fi
|
|
echo === $version ===
|
|
done
|