You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Adminstrivia
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
|
||||||
|
# FIXME put some of the below in a common routine
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
cd $(dirname ${BASH_SOURCE[0]})
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
if ! source ./pyenv-newer-versions ; then
|
if ! source ./pyenv-newer-versions ; then
|
||||||
exit $?
|
exit $?
|
||||||
@@ -11,7 +19,7 @@ for version in $PYVERSIONS; do
|
|||||||
if ! pyenv local $version ; then
|
if ! pyenv local $version ; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
make clean && python setup.py develop
|
make clean && pip install -e .
|
||||||
if ! make check; then
|
if ! make check; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
@@ -1,4 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
cd $(dirname ${BASH_SOURCE[0]})
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
if ! source ./pyenv-older-versions ; then
|
if ! source ./pyenv-older-versions ; then
|
||||||
exit $?
|
exit $?
|
||||||
|
@@ -18,38 +18,25 @@ git push
|
|||||||
Make sure pyenv is running
|
Make sure pyenv is running
|
||||||
# Pyenv
|
# Pyenv
|
||||||
|
|
||||||
source make-dist/pyenv-versions
|
source admin-tools/check-newer-versions.sh
|
||||||
|
|
||||||
|
|
||||||
Test all python versions:
|
|
||||||
for version in $PYVERSIONS; do pyenv local $version && make clean && python setup.py develop && make check; done
|
|
||||||
|
|
||||||
# Switch to python-2.4 and build that first...
|
# Switch to python-2.4 and build that first...
|
||||||
|
source admin-tools/setup-python-2.4
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
./setup-python-2.4.sh
|
|
||||||
|
|
||||||
rm ChangeLog
|
rm ChangeLog
|
||||||
git merge master
|
git merge master
|
||||||
check uncompyle6/version.py to see it has changed
|
|
||||||
make ChangeLog
|
|
||||||
|
|
||||||
Update NEWS from master branch
|
Update NEWS from master branch
|
||||||
|
|
||||||
git commit -m"Get ready for release $VERSION" .
|
git commit -m"Get ready for release $VERSION" .
|
||||||
|
|
||||||
PYVERSIONS='2.4.6 2.5.6'
|
source admin-tools/check-older-versions.sh
|
||||||
|
source admin-tools/check-newer-versions.sh
|
||||||
for version in $PYVERSIONS; do pyenv local $version && make clean && python setup.py develop && make check; done
|
|
||||||
|
|
||||||
make-dist-older.sh
|
make-dist-older.sh
|
||||||
|
|
||||||
git tag release-python-2.4-$VERSION
|
git tag release-python-2.4-$VERSION
|
||||||
git push --tags
|
|
||||||
|
|
||||||
. ./setup-master.sh
|
|
||||||
|
|
||||||
./make-dist-newer.sh
|
./make-dist-newer.sh
|
||||||
|
|
||||||
|
@@ -1,12 +1,26 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PACKAGE=uncompyle6
|
PACKAGE=uncompyle6
|
||||||
|
|
||||||
|
# FIXME put some of the below in a common routine
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
|
if ! source ./pyenv-older-versions ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
if ! source ./setup-master.sh ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ..
|
||||||
source $PACKAGE/version.py
|
source $PACKAGE/version.py
|
||||||
. ./setup-master.sh
|
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
PYVERSIONS='3.5.2 3.6.2 2.6.9 3.3.6 2.7.13 3.4.2 3.5.6'
|
|
||||||
for pyversion in $PYVERSIONS; do
|
for pyversion in $PYVERSIONS; do
|
||||||
# Pick out first two numbers
|
# Pick out first two numbers
|
||||||
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
|
||||||
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/uncompyle6-$VERSION-{py2.py3,py$first_two}-none-any.whl
|
||||||
done
|
done
|
||||||
|
@@ -1,18 +1,34 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PACKAGE=uncompyle6
|
PACKAGE=uncompyle6
|
||||||
|
|
||||||
|
# FIXME put some of the below in a common routine
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
|
||||||
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
|
if ! source ./pyenv-older-versions ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
if ! source ./setup-python-2.4.sh ; then
|
if ! source ./setup-python-2.4.sh ; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
source $PACKAGE/version.py
|
|
||||||
|
source ../$PACKAGE/version.py
|
||||||
echo $VERSION
|
echo $VERSION
|
||||||
PYVERSIONS='2.4.6 2.5.6'
|
|
||||||
for pyversion in $PYVERSIONS; do
|
for pyversion in $PYVERSIONS; do
|
||||||
# Pick out first two numbers
|
# Pick out first two numbers
|
||||||
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
|
python setup.py bdist_egg
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Pypi can only have one source taball.
|
||||||
|
# Tarballs can get created from the above setup, so make sure to remove them since we want
|
||||||
|
# the tarball from master.
|
||||||
|
|
||||||
tarball=dist/uncompyle6-$VERSION-tar.gz
|
tarball=dist/uncompyle6-$VERSION-tar.gz
|
||||||
if -f $tarball; then
|
if -f $tarball; then
|
||||||
rm dist/uncompyle6-$VERSION-tar.gz
|
rm -v dist/uncompyle6-$VERSION-tar.gz
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user