"Fossies" - the Fresh Open Source Software Archive

Member "cheetah3-3.2.6.post2/devscripts/release" (20 Apr 2021, 865 Bytes) of package /linux/www/cheetah3-3.2.6.post2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "release": 3-3.2.4_vs_3-3.2.5.

    1 #! /bin/sh
    2 
    3 cd "`dirname \"$0\"`"/.. &&
    4 umask 022 &&
    5 chmod -R a+rX . &&
    6 
    7 set-commit-date.py &&
    8 devscripts/build-docs &&
    9 
   10 if [ ! -d build ]; then mkdir build; fi &&
   11 python setup.py sdist &&
   12 
   13 for py in 2.7 3.4 3.5 3.6 3.7 3.8 3.9; do
   14    find build -name '*.py[co]' -delete &&
   15    python$py setup.py build_ext &&
   16    python$py setup.py build --executable '/usr/bin/env python' &&
   17    python$py    -m compileall build &&
   18    python$py -O -m compileall build &&
   19    python$py setup.py bdist_wheel &&
   20    cd dist &&
   21    v="`echo $py | sed 's/\.//'`" &&
   22    for f in Cheetah3-*-cp$v-*-linux_*.whl; do
   23       if [ $py = 2.7 ]; then
   24          python3.6 -m auditwheel repair -w . $f
   25       else
   26          python$py -m auditwheel repair -w . $f
   27       fi &&
   28       rm $f
   29    done &&
   30    cd ..
   31 done &&
   32 
   33 twine upload --skip-existing dist/* &&
   34 exec rm -rf build dist docs/html Cheetah3.egg-info