You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Administrivia - generalize shell code
This commit is contained in:
@@ -32,7 +32,7 @@ for pyversion in $PYVERSIONS; do
|
|||||||
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
|
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
|
||||||
rm -fr build
|
rm -fr build
|
||||||
python setup.py bdist_egg bdist_wheel
|
python setup.py bdist_egg bdist_wheel
|
||||||
mv -v dist/uncompyle6-$VERSION-{py2.py3,py$first_two}-none-any.whl
|
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl
|
||||||
done
|
done
|
||||||
|
|
||||||
python ./setup.py sdist
|
python ./setup.py sdist
|
||||||
|
@@ -33,7 +33,7 @@ done
|
|||||||
# Tarballs can get created from the above setup, so make sure to remove them since we want
|
# Tarballs can get created from the above setup, so make sure to remove them since we want
|
||||||
# the tarball from master.
|
# the tarball from master.
|
||||||
|
|
||||||
tarball=dist/uncompyle6-$VERSION-tar.gz
|
tarball=dist/${PACKAGE}-$VERSION-tar.gz
|
||||||
if [[ -f $tarball ]]; then
|
if [[ -f $tarball ]]; then
|
||||||
rm -v dist/uncompyle6-$VERSION-tar.gz
|
rm -v dist/${PACKAGE}-$VERSION-tar.gz
|
||||||
fi
|
fi
|
||||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user