From 7eb7bbb8ee44638353802757f2f29b7929f8708b Mon Sep 17 00:00:00 2001 From: matham Date: Sun, 29 Dec 2019 12:50:31 -0500 Subject: [PATCH] Examples doesn't install if we are in kivy dir [build wheel]. --- .ci/ubuntu_ci.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/ubuntu_ci.sh b/.ci/ubuntu_ci.sh index 3351bbc07..0203b7c49 100644 --- a/.ci/ubuntu_ci.sh +++ b/.ci/ubuntu_ci.sh @@ -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)