File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ cd $(dirname ${BASH_SOURCE[0]})
1010owd=$( pwd)
1111trap finish EXIT
1212
13- if ! source ./pyenv-versions ; then
13+ if ! source ./pyenv-newer-versions ; then
14+ exit $?
15+ fi
16+ if ! source ./setup-master.sh ; then
1417 exit $?
1518fi
1619
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ PACKAGE=trepan
3+
4+ # FIXME put some of the below in a common routine
5+ function finish {
6+ cd $owd
7+ }
8+
9+ cd $( dirname ${BASH_SOURCE[0]} )
10+ owd=$( pwd)
11+ trap finish EXIT
12+
13+ if ! source ./pyenv-older-versions ; then
14+ exit $?
15+ fi
16+ if ! source ./setup-python-3.2.sh ; then
17+ exit $?
18+ fi
19+
20+ cd ..
21+ source $PACKAGE /version.py
22+ echo $VERSION
23+
24+ for pyversion in $PYVERSIONS ; do
25+ if ! pyenv local $pyversion ; then
26+ exit $?
27+ fi
28+ # pip bdist_egg create too-general wheels. So
29+ # we narrow that by moving the generated wheel.
30+
31+ # Pick out first two number of version, e.g. 3.5.1 -> 35
32+ first_two_dot=$( echo $pyversion | cut -d' .' -f 1-2 )
33+ first_two=$( echo $pyversion | cut -d' .' -f 1-2 | sed -e ' s/\.//' )
34+ rm -fr build
35+ python setup.py bdist_egg bdist_wheel
36+ done
37+
38+ # mv -v dist/${PACKAGE}-$VERSION.tar.gz dist/${PACKAGE}3k-$VERSION.tar.gz
You can’t perform that action at this time.
0 commit comments