Examples doesn't install if we are in kivy dir [build wheel].

This commit is contained in:
matham 2019-12-29 12:50:31 -05:00 committed by GitHub
parent d1f8527316
commit 7eb7bbb8ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -56,9 +56,10 @@ install_kivy() {
install_kivy_manylinux_wheel() {
root="$(pwd)"
python3 -m pip install cython
python3 setup.py install --build_examples
python3 -m pip uninstall cython -y
python setup.py bdist_wheel --build_examples --universal
cd ~
python3 -m pip install $(ls $root/dist/Kivy_examples-*.whl)
python3 -m pip uninstall cython -y
version=$(python3 -c "import sys; print('{}{}'.format(sys.version_info.major, sys.version_info.minor))")
kivy_fname=$(ls $root/dist/Kivy-*$version*.whl | awk '{ print length, $0 }' | sort -n -s | cut -d" " -f2- | head -n1)