Administrivia

This commit is contained in:
rocky
2017-10-12 07:19:46 -04:00
parent d3a42ff992
commit 3f309cebab
2 changed files with 6 additions and 4 deletions

View File

@@ -5,10 +5,11 @@ PACKAGE=uncompyle6
function finish {
cd $owd
}
cd $(dirname ${BASH_SOURCE[0]})
owd=$(pwd)
trap finish EXIT
cd $(dirname ${BASH_SOURCE[0]})
if ! source ./pyenv-newer-versions ; then
exit $?
fi
@@ -27,7 +28,7 @@ for pyversion in $PYVERSIONS; do
# pip bdist_egg create too-general wheels. So
# we narrow that by moving the generated wheel.
# Pick out first two number of version, e.g. 3.5.1 -> 35
# Pick out first two number of version, e.g. 3.5.1 -> 35
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
rm -fr build
python setup.py bdist_egg bdist_wheel

View File

@@ -16,7 +16,8 @@ if ! source ./setup-python-2.4.sh ; then
exit $?
fi
source ../$PACKAGE/version.py
cd ..
source $PACKAGE/version.py
echo $VERSION
for pyversion in $PYVERSIONS; do
@@ -33,6 +34,6 @@ done
# the tarball from master.
tarball=dist/uncompyle6-$VERSION-tar.gz
if -f $tarball; then
if [[ -f $tarball ]]; then
rm -v dist/uncompyle6-$VERSION-tar.gz
fi