Closed hongyi-zhao closed 4 years ago
The vtkpython executable is of no use when you have a working wheel -- at least I have never used it. What is it that you need with the vtkpython executable?
Thanks for your explanation. I really just want to know why it's created for the non-wheel distribution case.
Please be more specific. The vtkpython executable is just a convenience so that the VTK libraries are easier to load. It is not the same as your environment's Python. Think of it as a separate Python binary that is able to load VTK. So if you are only using VTK that is OK but for most people who are using Python for a dozen other things (and packages), this does not work. When you have a wheel, you do not need vtkpython because the wheel is built so that the Python environment in which install the wheel into is able to load VTK and so you are able to use your own Python packages, other packages, and VTK as well. Further, you can use this wheel in whatever environment you want. So vtkpython is completely unnecessary when you build a wheel.
Thanks a lot for your insightful analysis.
Hi,
I posted this problem here but not been answered till now and I take the liberty post it here again. I noticed there are some differences between the wheel and the non-wheel building method for vtk. Say, the vtkpython tool will be created in the latter while it won't exist in wheel file.
Any hints for this problem?
Regards, HY