Skip to content

Commit f6322b7

Browse files
committed
Get ready for release 1.3.0
1 parent e35f197 commit f6322b7

File tree

5 files changed

+60
-4
lines changed

5 files changed

+60
-4
lines changed

admin-tools/check-newest-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trepan3k_owd=$(pwd)
88
# trap finish EXIT
99

1010
cd $(dirname ${BASH_SOURCE[0]})
11-
if ! source ./pyenv-newer-versions ; then
11+
if ! source ./pyenv-newest-versions ; then
1212
exit $?
1313
fi
1414

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trap finish EXIT
1212

1313
cd $(dirname ${BASH_SOURCE[0]})
1414

15-
if ! source ./pyenv-3.0-3.1-versions ; then
15+
if ! source ./pyenv-3.0-3.2-versions ; then
1616
exit $?
1717
fi
1818
if ! source ./setup-python-3.0.sh ; then
@@ -27,7 +27,7 @@ fi
2727
echo $__version__
2828

2929
for pyversion in $PYVERSIONS; do
30-
o echo --- $pyversion ---
30+
echo --- $pyversion ---
3131
if [[ ${pyversion:0:4} == "pypy" ]] ; then
3232
echo "$pyversion - PyPy does not get special packaging"
3333
continue

admin-tools/make-dist-3.6-3.10.sh

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#!/bin/bash
2+
PACKAGE=trepan3k
3+
4+
# FIXME put some of the below in a common routine
5+
function finish {
6+
cd $make_dist_36_owd
7+
}
8+
9+
make_trepan_dist_36_owd=$(pwd)
10+
trap finish EXIT
11+
12+
cd $(dirname ${BASH_SOURCE[0]})
13+
14+
if ! source ./pyenv-3.6-3.10-versions ; then
15+
exit $?
16+
fi
17+
if ! source ./setup-python-3.6.sh ; then
18+
exit $?
19+
fi
20+
21+
. ./setup-python-3.6.sh
22+
23+
cd ..
24+
source trepan/version.py
25+
if [[ ! -n $__version__ ]]; then
26+
echo "You need to set __version__ first"
27+
exit 1
28+
fi
29+
echo $__version__
30+
31+
for pyversion in $PYVERSIONS; do
32+
echo --- $pyversion ---
33+
if [[ ${pyversion:0:4} == "pypy" ]] ; then
34+
echo "$pyversion - PyPy does not get special packaging"
35+
continue
36+
fi
37+
if ! pyenv local $pyversion ; then
38+
exit $?
39+
fi
40+
# pip bdist_egg create too-general wheels. So
41+
# we narrow that by moving the generated wheel.
42+
43+
# Pick out first two number of version, e.g. 3.5.1 -> 35
44+
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
45+
rm -fr build
46+
python setup.py bdist_egg bdist_wheel
47+
mv -v dist/${PACKAGE}-$__version__-{py2.py3,$first_two}-none-any.whl
48+
done
49+
50+
python ./setup.py sdist
51+
tarball=dist/${PACKAGE}-${__version__}.tar.gz
52+
53+
if [[ -f $tarball ]]; then
54+
mv -v $tarball dist/${PACKAGE}_36-${__version__}.tar.gz
55+
fi
56+
finish
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd $(dirname ${BASH_SOURCE[0]})
1010
owd=$(pwd)
1111
trap finish EXIT
1212

13-
if ! source ./pyenv-newer-versions ; then
13+
if ! source ./pyenv-newest-versions ; then
1414
exit $?
1515
fi
1616
if ! source ./setup-master.sh ; then

0 commit comments

Comments
 (0)