Skip to content

Commit 9a5c903

Browse files
committed
Administrivia
1 parent 8b78695 commit 9a5c903

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
function finish {
3+
cd $trepan3k_owd
4+
}
5+
6+
# FIXME put some of the below in a common routine
7+
trepan3k_owd=$(pwd)
8+
# trap finish EXIT
9+
10+
cd $(dirname ${BASH_SOURCE[0]})
11+
if ! source ./pyenv-3.0-3.2-versions ; then
12+
exit $?
13+
fi
14+
15+
if ! source ./setup-python-3.0.sh ; then
16+
exit $?
17+
fi
18+
19+
cd ..
20+
for version in $PYVERSIONS; do
21+
if ! pyenv local $version ; then
22+
exit $?
23+
fi
24+
python --version
25+
make clean && pip install -e .
26+
if ! make check; then
27+
exit $?
28+
fi
29+
echo === $version ===
30+
done
31+
finish

admin-tools/pyenv-3.0-3.2-versions

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- shell-script -*-
2+
# Sets PYVERSIONS to be pyenv versions that
3+
# we can use in the python-3.0-to-3.2 branch.
4+
5+
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
6+
echo "This script should be *sourced* rather than run directly through bash"
7+
exit 1
8+
fi
9+
export PYVERSIONS='3.0 3.1 3.2'

0 commit comments

Comments
 (0)