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
This commit is contained in:
@@ -12,6 +12,7 @@ fi
|
|||||||
if ! source ./setup-python-2.4.sh ; then
|
if ! source ./setup-python-2.4.sh ; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
for version in $PYVERSIONS; do
|
for version in $PYVERSIONS; do
|
||||||
if ! pyenv local $version ; then
|
if ! pyenv local $version ; then
|
||||||
|
@@ -5,8 +5,11 @@ PACKAGE=uncompyle6
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
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-newer-versions ; then
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
if ! source ./setup-master.sh ; then
|
if ! source ./setup-master.sh ; then
|
||||||
@@ -18,7 +21,13 @@ source $PACKAGE/version.py
|
|||||||
echo $VERSION
|
echo $VERSION
|
||||||
|
|
||||||
for pyversion in $PYVERSIONS; do
|
for pyversion in $PYVERSIONS; do
|
||||||
# Pick out first two numbers
|
if ! pyenv local $pyversion ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
# 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
|
||||||
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
|
||||||
|
@@ -5,6 +5,8 @@ PACKAGE=uncompyle6
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
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
|
||||||
@@ -18,13 +20,15 @@ source ../$PACKAGE/version.py
|
|||||||
echo $VERSION
|
echo $VERSION
|
||||||
|
|
||||||
for pyversion in $PYVERSIONS; do
|
for pyversion in $PYVERSIONS; do
|
||||||
# Pick out first two numbers
|
if ! pyenv local $pyversion ; then
|
||||||
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
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.
|
# Pypi can only have one source tarball.
|
||||||
# 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.
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
|
# -*- shell-script -*-
|
||||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
export PYVERSIONS='3.5.2 3.6.2 2.6.9 3.3.6 pypy-5.0.1 2.7.13 3.4.2'
|
export PYVERSIONS='3.5.2 3.6.2 2.6.9 3.3.6 2.7.13 3.4.2'
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# -*- shell-script -*-
|
||||||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
exit 1
|
exit 1
|
||||||
|
@@ -1,6 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PYTHON_VERSION=3.6.3
|
PYTHON_VERSION=3.6.3
|
||||||
|
|
||||||
|
# FIXME put some of the below in a common routine
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
|
||||||
|
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
||||||
owd=$(pwd)
|
owd=$(pwd)
|
||||||
bs=${BASH_SOURCE[0]}
|
bs=${BASH_SOURCE[0]}
|
||||||
if [[ $0 == $bs ]] ; then
|
if [[ $0 == $bs ]] ; then
|
||||||
|
Reference in New Issue
Block a user