Skip to content

ON HOLD: CMake predict wheel name

Wuttke, Joachim requested to merge j.predict_wheel_name into main

This MR contains some CMake code that predicts the name of the wheel generated by the command $PYTHON -m pip wheel. This functionality is needed for

  • the OUTPUT argument of add_custom_command, which is needed for putting wheel generation under CMake control
  • for fixing some Mac/Conda problem.

There is no easy solution under Python. Pythonistas claim that wheel names are generated according to well defined rules: https://discuss.python.org/t/how-to-predict-name-of-wheel-without-actually-generating-it/51373.

Merge request reports