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#! /bin/bash
22PYTHON_VERSION=3.3
33
4- # FIXME put some of the below in a common routine
5- function checkout_version {
6- local repo=$1
7- version=${2:- python-3.3-to-3.5}
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- export PATH=$HOME /.pyenv/bin/pyenv:$PATH
15- trepan3k_owd=$( pwd)
164bs=${BASH_SOURCE[0]}
175if [[ $0 == $bs ]] ; then
186 echo " This script should be *sourced* rather than run directly through bash"
197 exit 1
208fi
219
10+ export PATH=$HOME /.pyenv/bin/pyenv:$PATH
11+ trepan3k_owd=$( pwd)
12+
2213mydir=$( dirname $bs )
14+ cd $mydir
15+ . ./checkout_common.sh
2316(cd $mydir /.. && \
2417 setup_version python-uncompyle6 python-3.3 && \
2518 setup_version python-xdis python-3.3 && \
@@ -33,4 +26,4 @@ mydir=$(dirname $bs)
3326cd $trepan3k_owd
3427rm -v * /.python-version 2> /dev/null || true
3528
36- git checkout python-3.3-to-3.5 && pyenv local $PYTHON_VERSION && git pull
29+ checkout_finish python-3.3-to-3.5
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Check out 3.6-to-3.10 branch and dependent development branches
3+ PYTHON_VERSION=3.6
34
45bs=${BASH_SOURCE[0]}
56if [[ $0 == $bs ]] ; then
67 echo " This script should be *sourced* rather than run directly through bash"
78 exit 1
89fi
910
10- PYTHON_VERSION=3.6
11-
1211export PATH=$HOME /.pyenv/bin/pyenv:$PATH
1312trepan3k_owd=$( pwd)
1413mydir=$( dirname $bs )
You can’t perform that action at this time.
0 commit comments