Changing install schemes when using windows python on cygwin

Hi,

Can we change the default install scheme from ‘nt’ to ‘posix_prefix’ while using windows python in cygwin shell for installation via python.exe setup.py install after build from source? Is something like this possible? Any help is much appreciated.

I wondered if cygwin was a dead project.
Turns out stuff is still happening and saw this Updated: python 3.9/3.12 packages

Yes, I use cygwin shell from msys as well and there python updates are coming through. Is there any way to change the default installation scheme? One way I figure is to build windows python from source and set default installation scheme to posix_prefix for python.exe setup.py install options. I haven’t tested this out yet. Another way is manually copy the files based on different schemes,

sysconfig — Provide access to Python’s configuration information — Python 3.14.2 documentation

but are there any other ways that avoid changing the source files of windows python? or require manual copying?

Following seems to work,

python.exe setup.py bdist_wheel --plat-name=linux_x86_64

Then unzipping the wheel manually into site-packages.