"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "devscripts/CI/travisci-release" between
cheetah3-3.2.0.tar.gz and cheetah3-3.2.1.tar.gz

About: Cheetah3 is a template engine and code generation tool for e.g. for Web development or Java, SQL, LaTeX, form email ... (written in Python).

travisci-release  (cheetah3-3.2.0):travisci-release  (cheetah3-3.2.1)
#! /usr/bin/env bash #! /usr/bin/env bash
set -e
[[ "$TOXENV" == *-flake8 || "$TOXENV" == pypy* ]] && exit 0 [[ "$TOXENV" == *-flake8 || "$TOXENV" == pypy* ]] && exit 0
umask 022 && umask 022 &&
chmod -R a+rX . && chmod -R a+rX . &&
pip install -U pip setuptools wheel twine && pip install -U pip setuptools "wheel==0.31.1" twine &&
python setup.py sdist && python setup.py sdist &&
if [ -d build ]; then find build -name '*.py[co]' -delete; fi && if [ -d build ]; then find build -name '*.py[co]' -delete; fi &&
python setup.py build_ext && python setup.py build_ext &&
python setup.py build --executable '/usr/bin/env python' && python setup.py build --executable '/usr/bin/env python' &&
python -m compileall build && python -m compileall build &&
python -O -m compileall build && python -O -m compileall build &&
python setup.py bdist_wheel && python setup.py bdist_wheel &&
py=`python -c "import sys; print('.'.join(sys.version.split('.')[:2]))"` py=$(python -c "import sys; print('.'.join(sys.version.split('.')[:2]))")
v="`echo $py | sed 's/\.//'`" && v=$(echo "$py" | sed 's/\.//') &&
if [ $py = 2.7 ]; then if [ "$TRAVIS_OS_NAME" == 'linux' ]; then
pyenv global system 3.6.7 2.7.15 if [ "$py" == 2.7 ]; then
pip3.6 install -U auditwheel pyenv global system 3.6.7 2.7.15
else pip3.6 install -U auditwheel
pip install -U auditwheel else
pip install -U auditwheel
fi &&
for f in dist/Cheetah3-*-cp$v-*-linux_x86_64.whl; do
if [ "$py" == 2.7 ]; then
python3.6 -m auditwheel repair -w dist/ "$f"
else
python -m auditwheel repair -w dist/ "$f"
fi &&
rm -f "$f"
done
elif [ "$TRAVIS_OS_NAME" == 'osx' ]; then
pip install -U delocate
for f in dist/Cheetah3-*-cp$v-*-macosx*.whl; do
delocate-wheel -v "$f"
done
fi && fi &&
cd dist && # TWINE_USERNAME / TWINE_PASSWORD / TWINE_REPOSITORY_URL
for f in Cheetah3-*-cp$v-*-linux_x86_64.whl; do # must be set in Travis settings.
if [ $py = 2.7 ]; then
python3.6 -m auditwheel repair -w . $f
else
python -m auditwheel repair -w . $f
fi &&
rm $f
done &&
cd .. &&
exec twine upload --skip-existing dist/* exec twine upload --skip-existing dist/*
 End of changes. 5 change blocks. 
19 lines changed or deleted 28 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)