python/cssutils: Build with python3 by default

This commit is contained in:
Robby Workman 2021-04-20 23:52:46 -05:00
parent e48218d43a
commit 499a0b74b9
1 changed files with 2 additions and 5 deletions

View File

@ -63,11 +63,8 @@ for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do
done
python setup.py install --root=$PKG
if [ "${PYTHON3:-no}" == "yes" ]; then
rm -rf build
python3 setup.py install --root=$PKG
fi
rm -rf build
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true