File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/bash
2+ PACKAGE_NAME=trepan3k
3+ PACKAGE_MODULE=trepan
4+ trepan3k_owd=$( pwd)
5+ bs=${BASH_SOURCE[0]}
6+ mydir=$( dirname $bs )
7+ trepan3k_fulldir=$( readlink -f $mydir )
8+ cd $trepan3k_fulldir
9+ . ./checkout_common.sh
10+
11+ pyenv_file=" pyenv-newest-versions"
12+ if ! source $pyenv_file ; then
13+ echo " Having trouble reading ${pyenv_file} version $( pwd) "
14+ exit 1
15+ fi
16+
17+ source ../${PACKAGE_MODULE} /version.py
18+ if [[ ! $__version__ ]] ; then
19+ echo " Something is wrong: __version__ should have been set."
20+ exit 1
21+ fi
22+
23+ cd ../dist/
24+
25+ install_check_command=" trepan3k --help"
26+ install_file=" trepan3k-${__version__} .tar.gz"
27+ for pyversion in $PYVERSIONS ; do
28+ echo " *** Installing ${install_file} for Python ${pyversion} ***"
29+ pyenv local $pyversion
30+ pip install $install_file
31+ $install_check_command
32+ echo " ----"
33+ done
You can’t perform that action at this time.
0 commit comments