I am building a python wheel and encounter a problem by specifying the dependencies. The install_requires parameter of the setup method receives:
vtk_osmesaandpyvista.
The problem above is, that pyvista has vtk as a dependency. However, since I would like to provide a wheel for a headless machine with osmesa, vtk_osmesa is already a dependency, with a different set of libraries.
Is there a way specify that a certain dependency should not be installed with all its sub dependencies? I would gladly specify all required dependencies using a tool like pip-compile.