[vtk-developers] vtk-8.2.0-rc2 problem building wheels
Matt McCormick
matt.mccormick at kitware.com
Wed Jan 2 16:30:50 EST 2019
On Wed, Jan 2, 2019 at 4:13 PM David E DeMarle via vtk-developers
<vtk-developers at vtk.org> wrote:
>
> I've been holding off 8.2.0.final to get a better handle on wheel building.
>
> Please review the potential fix in: https://gitlab.kitware.com/vtk/vtk/merge_requests/5021
Excellent, thanks!
This looks good to me.
> @Prabhu Ramachandran, @Jean-Christophe Fillion-Robin building the wheels seem to be OK off of this on my desktop. How do I locally test their validity?
Create a virtualenv, make sure pip can recognize and install the wheel
from the local directory, and test it on VTK examples. For example,
python3 -m venv test-venv
./test-venv/bin/python -m pip install --upgrade pip
./test-venv/bin/python -m pip install numpy
# dist/ contains the generated vtk-8.2.0-cp36-cp36m-manylinux1_x86_64.whl
./test-venv/bin/python -m pip install vtk --no-cache-dir --no-index -f ./dist/
./test-venv/bin/python /path/to/vtk/script.py
HTH,
Matt
More information about the vtk-developers
mailing list