File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11* .egg
2- .idea
32* .egg-info
43* .py ?
54* ~
5+ .idea
66.python-version
77/* .egg
8+ /.cache
89/.coverage
910/.eggs
1011/.tox
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77 exit 1
88fi
99
10- export PYVERSIONS=' 3.5.10 3. 3.7 3.4. 10 3.2.6 '
10+ export PYVERSIONS=' 3.6.15 pypy3.6-7.3.1 3.7.17 pypy3.7-7.3.9 pypy3.8-7.3. 10 pypy3.9-7.3.10 pyston-2.3.5 3.8.18 3.9.18 3.10.13 '
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77 exit 1
88fi
99
10- export PYVERSIONS=' 3.6.15 pypy3.6-7.3.1 3.7.17 pypy3.7-7.3.9 pypy3.8-7.3.10 pypy3.9-7.3.10 pyston-2.3.5 3.8.18 3.9.18 3.10.13 '
10+ export PYVERSIONS=' 3.11.7 3.12.1 '
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ PYTHON_VERSION=3.6.15
3+
4+ # FIXME put some of the below in a common routine
5+ function checkout_version {
6+ local repo=$1
7+ version=${2:- python-3.0-to-3.2}
8+ echo Checking out $version on $repo ...
9+ (cd ../$repo && git checkout $version && pyenv local $PYTHON_VERSION ) && \
10+ git pull
11+ return $?
12+ }
13+
14+ # FIXME put some of the below in a common routine
15+ function finish {
16+ cd $owd
17+ }
18+
19+ export PATH=$HOME /.pyenv/bin/pyenv:$PATH
20+ owd=$( pwd)
21+ bs=${BASH_SOURCE[0]}
22+ if [[ $0 == $bs ]] ; then
23+ echo " This script should be *sourced* rather than run directly through bash"
24+ exit 1
25+ fi
26+
27+ mydir=$( dirname $bs )
28+ fulldir=$( readlink -f $mydir )
29+ (cd $fulldir /.. && \
30+ checkout_version python-spark master && \
31+ checkout_version python-xdis python-3.6-to-3.10 && \
32+ checkout_version python-filecache master && \
33+ checkout_version pycolumnize master && \
34+ checkout_version python-uncompyle6 master \
35+ )
36+ cd $owd
37+ rm -v * /.python-version || true
38+
39+ git checkout python-3.6-to-3.10 && pyenv local $PYTHON_VERSION && git pull
You can’t perform that action at this time.
0 commit comments