Skip to content

Commit b1abb39

Browse files
author
rocky
committed
More 3.6-3.10 versions
1 parent 0cd50bb commit b1abb39

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ fi
2929
cd ..
3030

3131
source ${PACKAGE_MODULE}/version.py
32-
if [[ ! -n $__version__ ]]; then
32+
if [[ ! $__version__ ]] ; then
3333
echo "Something is wrong: __version__ should have been set."
3434
exit 1
3535
fi
3636

3737
for pyversion in $PYVERSIONS; do
3838
case ${pyversion:0:4} in
39-
"graal" )
39+
"graa" )
4040
echo "$pyversion - Graal does not get special packaging"
4141
continue
4242
;;

admin-tools/make-dist-newest.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if ! source ./setup-master.sh ; then
2626
fi
2727

2828
cd ..
29+
2930
source ${PACKAGE_MODULE}/version.py
3031
if [[ ! $__version__ ]] ; then
3132
echo "Something is wrong: __version__ should have been set."
@@ -61,12 +62,13 @@ for pyversion in $PYVERSIONS; do
6162
# Pick out first two number of version, e.g. 3.5.1 -> 35
6263
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
6364
rm -fr build
64-
pip wheel --wheel-dir=dist .
65-
mv -v dist/${PACKAGE_MODULE}-$__version__-{py3,py$first_two}-none-any.whl
65+
python setup.py bdist_wheel
66+
mv -v dist/${PACKAGE_MODULE}-${__version__}-{py3,py$first_two}-none-any.whl
6667
done
6768

6869
python -m build --sdist
6970
tarball=dist/${PACKAGE_NAME}-${__version__}.tar.gz
71+
7072
if [[ -f $tarball ]]; then
7173
twine check $tarball
7274
else

admin-tools/pyenv-3.6-3.10-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77
exit 1
88
fi
99

10-
export PYVERSIONS='3.6 pypy3.6 3.7 pypy3.7 3.8 pyston-2.3.5 pypy3.8 3.9 pypy3.9 3.10 pypy3.10'
10+
export PYVERSIONS='3.6 pypy3.6 3.7 pypy3.7 pyston-2.3.5 pypy3.8 graalpython-20.3.0 3.8 3.9 pypy3.9 3.9 pypy3.10 graalpy-24.0 3.10'

0 commit comments

Comments
 (0)