Feature
Describe the feature you'd like
Building the Python wheel is kinda messy. Especially when it comes to cross-compilation.
The current setup.py will likely only work if host == target.
In our CI (using cibuildwheel) it sometimes doesn't pass --plat_name to bdist_wheel which we inject then.
See:
https://github.com/capstone-engine/capstone/blame/5e6807bab9ba6a8112b8ba1f92285924e699ee84/bindings/python/setup.py#L205-L211
This is of course not ok and probably breaks at some point. So we should put the effort into it and clean the whole thing up.
Additional context
...
Feature
languageDescribe the feature you'd like
Building the Python wheel is kinda messy. Especially when it comes to cross-compilation.
The current
setup.pywill likely only work ifhost == target.In our CI (using
cibuildwheel) it sometimes doesn't pass--plat_nametobdist_wheelwhich we inject then.See:
https://github.com/capstone-engine/capstone/blame/5e6807bab9ba6a8112b8ba1f92285924e699ee84/bindings/python/setup.py#L205-L211
This is of course not ok and probably breaks at some point. So we should put the effort into it and clean the whole thing up.
Additional context
...