KitwareMedical / KitwareMedical/VTKPythonPackage

Building wheel suitable for extensions

Open
#18 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Me and @berendkleinhaneveld were investigating if we could build extensions against this package. It seems to be a runtime-only package, which is great, but we need the development files, such as headers and the wrapPython executable.

It looks like overriding the option `-DVTK_INSTALL_NO_DEVELOPMENT:BOOL=ON` to `OFF` should do the trick. So we tried that, and more development files ended up in the wheel. However, _we are not seeing any header files!_

We've been investigating all day, but it's unclear to us what is causing this. Do you guys have any suggestions for where we should be looking?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the repository's setup script and the VTK_INSTALL_NO_DEVELOPMENT option to see how wheel contents are selected. Verify whether the generated wheel contains the development headers and wrapPython executable; done means those extension-build files are present and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.