File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2929cd ..
3030
3131source ${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
3535fi
3636
3737for 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 ;;
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ if ! source ./setup-master.sh ; then
2626fi
2727
2828cd ..
29+
2930source ${PACKAGE_MODULE} /version.py
3031if [[ ! $__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
6667done
6768
6869python -m build --sdist
6970tarball=dist/${PACKAGE_NAME} -${__version__} .tar.gz
71+
7072if [[ -f $tarball ]]; then
7173 twine check $tarball
7274else
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
77 exit 1
88fi
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'
You can’t perform that action at this time.
0 commit comments