File tree Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- PACKAGE=uncompyle6
2+ PACKAGE=decompyle3
33
44# FIXME put some of the below in a common routine
55function finish {
Original file line number Diff line number Diff line change 11#! /bin/bash
2- PACKAGE=uncompyle6
2+ PACKAGE=decompyle3
33
44# FIXME put some of the below in a common routine
55function finish {
6- cd $make_uncompyle6_newest_owd
6+ cd $decompyle3_newest_owd
77}
88
99cd $( dirname ${BASH_SOURCE[0]} )
10- make_uncompyle6_newest_owd =$( pwd)
10+ decompyle3_newest_owd =$( pwd)
1111trap finish EXIT
1212
1313if ! source ./pyenv-newest-versions ; then
2121source $PACKAGE /version.py
2222echo $__version__
2323
24- for pyversion in $PYVERSIONS ; do
25- echo --- $pyversion ---
26- if [[ ${pyversion: 0: 4} == " pypy" ]] ; then
27- echo " $pyversion - PyPy does not get special packaging"
28- continue
29- fi
30- if ! pyenv local $pyversion ; then
31- exit $?
32- fi
33- # pip bdist_egg create too-general wheels. So
34- # we narrow that by moving the generated wheel.
35-
36- # Pick out first two number of version, e.g. 3.5.1 -> 35
37- first_two=$( echo $pyversion | cut -d' .' -f 1-2 | sed -e ' s/\.//' )
38- rm -fr build
39- python setup.py bdist_egg bdist_wheel
40- mv -v dist/${PACKAGE} -$__version__ -{py2.py3,py$first_two }-none-any.whl
41- done
42-
43- python ./setup.py sdist
24+ rm -fr build
25+ pip wheel --wheel-dir=dist .
26+ python -m build --sdist
4427finish
You can’t perform that action at this time.
0 commit comments