Hi all,
Does anyone have any experience with using Fedora's MinGW stack to cross-compile Python wheels for Windows?
Scott
Am 21.01.22 um 15:59 schrieb Scott Talbert:
Does anyone have any experience with using Fedora's MinGW stack to cross-compile Python wheels for Windows?
I'm using the mingw stack to cross-compile a Windows binary which shipped as part of an otherwise platform neutral Python wheel. The main problem I had with Fedora's mingw Python was that I could not create a Windows wheel.
Felix
On Fri, 21 Jan 2022, Felix Schwarz wrote:
Does anyone have any experience with using Fedora's MinGW stack to cross-compile Python wheels for Windows?
I'm using the mingw stack to cross-compile a Windows binary which shipped as part of an otherwise platform neutral Python wheel. The main problem I had with Fedora's mingw Python was that I could not create a Windows wheel.
Yep, that's the same thing I'm trying to figure out. The compiling part works fine - it's the mechanics of cross-building a wheel that don't seem as clear.
Scott
Am 21.01.22 um 23:12 schrieb Scott Talbert:
I'm using the mingw stack to cross-compile a Windows binary which shipped as part of an otherwise platform neutral Python wheel. The main problem I had with Fedora's mingw Python was that I could not create a Windows wheel.
Yep, that's the same thing I'm trying to figure out. The compiling part works fine - it's the mechanics of cross-building a wheel that don't seem as clear.
I figured I needed to run the mingw Python (with wine) to get an actual Windows wheel. That part would require a virtualenv for my package.
However I can avoid that problem alltogether as my wheel just needs to contain an exe file (as "data") so I can use the Linux Python 3 to create a platform-neutral wheel.
I think the venv part would require some more serious patching in Fedora (and I would love to see this but unfortunately I can't spend time getting this fixed).
Felix
python-devel@lists.fedoraproject.org