Skip to content

Commit 3789e4d

Browse files
committed
Get ready for release 3.9.3
1 parent 050f2e3 commit 3789e4d

File tree

2 files changed

+7
-24
lines changed

2 files changed

+7
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PACKAGE=uncompyle6
2+
PACKAGE=decompyle3
33

44
# FIXME put some of the below in a common routine
55
function finish {

admin-tools/make-dist-newest.sh

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
2-
PACKAGE=uncompyle6
2+
PACKAGE=decompyle3
33

44
# FIXME put some of the below in a common routine
55
function finish {
6-
cd $make_uncompyle6_newest_owd
6+
cd $decompyle3_newest_owd
77
}
88

99
cd $(dirname ${BASH_SOURCE[0]})
10-
make_uncompyle6_newest_owd=$(pwd)
10+
decompyle3_newest_owd=$(pwd)
1111
trap finish EXIT
1212

1313
if ! source ./pyenv-newest-versions ; then
@@ -21,24 +21,7 @@ cd ..
2121
source $PACKAGE/version.py
2222
echo $__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
4427
finish

0 commit comments

Comments
 (0)