Skip to content

Commit 07f2de2

Browse files
committed
branch adminitrivia
1 parent 8533b95 commit 07f2de2

4 files changed

Lines changed: 21 additions & 24 deletions

File tree

admin-tools/setup-python-3.0.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
#!/bin/bash
22
# Check out 3.0-to-3.2 branch and dependent development branches
3+
PYTHON_VERSION=3.0
34

5+
trepan3k_owd=$(pwd)
46
bs=${BASH_SOURCE[0]}
57
if [[ $0 == $bs ]] ; then
68
echo "This script should be *sourced* rather than run directly through bash"
79
exit 1
810
fi
911

10-
PYTHON_VERSION=3.0
11-
12-
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
1312
trepan3k_owd=$(pwd)
1413
mydir=$(dirname $bs)
15-
cd $mydir
16-
. ./checkout_common.sh
17-
(cd $mydir/../../../rocky && \
14+
trepan3k_fulldir=$(readlink -f $mydir)
15+
. $trepan3k_fulldir/checkout_common.sh
16+
17+
(cd $trepan3k_fuilldir/../../../rocky && \
1818
setup_version python-uncompyle6 python-3.0 \
1919
setup_version python-filecache python-3.0 && \
2020
setup_version pytracer python-3.0 \

admin-tools/setup-python-3.11.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Check out 3.11 branch and dependent development branches
33
PYTHON_VERSION=3.11
44

5+
trepan3k_owd=$(pwd)
56
bs=${BASH_SOURCE[0]}
67
if [[ $0 == $bs ]] ; then
78
echo "This script should be *sourced* rather than run directly through bash"
89
exit 1
910
fi
1011

11-
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
12-
trepan3k_owd=$(pwd)
1312
mydir=$(dirname $bs)
14-
cd $mydir
15-
. ./checkout_common.sh
16-
(cd $mydir/../../rocky && \
13+
trepan3k_fulldir=$(readlink -f $mydir)
14+
. $trepan3k_fulldir/checkout_common.sh
15+
16+
(cd $trepan3k_fulldir/../../../rocky && \
1717
setup_version python-uncompyle6 master && \
1818
setup_version python-filecache master && \
1919
setup_version pytracer master && \

admin-tools/setup-python-3.3.sh

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
#!/bin/bash
22
PYTHON_VERSION=3.3
33

4+
trepan3k_owd=$(pwd)
45
bs=${BASH_SOURCE[0]}
56
if [[ $0 == $bs ]] ; then
67
echo "This script should be *sourced* rather than run directly through bash"
78
exit 1
89
fi
910

10-
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
11-
trepan3k_owd=$(pwd)
12-
1311
mydir=$(dirname $bs)
14-
cd $mydir
15-
. ./checkout_common.sh
16-
(cd $mydir/../../../rocky && \
12+
trepan3k_fulldir=$(readlink -f $mydir)
13+
. $trepan3k_fulldir/checkout_common.sh
14+
15+
(cd $trepan3k_fulldir/../../../rocky && \
1716
setup_version python-uncompyle6 python-3.3 && \
1817
setup_version python-filecache python-3.3 && \
1918
setup_version pytracer python-3.3 && \
20-
setup_version pycolumnize python-3.3 \
19+
setup_version pycolumnize python-3.0 \
2120
)
2221

23-
cd $trepan3k_owd
24-
rm -v */.python-version 2>/dev/null || true
25-
2622
checkout_finish python-3.3-to-3.5

admin-tools/setup-python-3.6.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
# Check out 3.6-to-3.10 branch and dependent development branches
33
PYTHON_VERSION=3.6
44

5+
trepan3k_owd=$(pwd)
56
bs=${BASH_SOURCE[0]}
67
if [[ $0 == $bs ]] ; then
78
echo "This script should be *sourced* rather than run directly through bash"
89
exit 1
910
fi
1011

11-
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
12-
trepan3k_owd=$(pwd)
1312
mydir=$(dirname $bs)
14-
. $mydir/checkout_common.sh
13+
trepan3k_fulldir=$(readlink -f $mydir)
14+
. $trepan3k_fulldir/checkout_common.sh
15+
1516
(cd $mydir/../../../rocky && \
1617
setup_version python-uncompyle6 python-3.6 && \
1718
setup_version python-filecache python-3.6 && \

0 commit comments

Comments
 (0)