Files
MINGW-packages/mingw-w64-python-setuptools
Christoph Reiter f3cd091346 setuptools: use patched internal distutils by default
To work around the included distutils in setuptools not supporting
we changed the default of SETUPTOOLS_USE_DISTUTILS to make it use
the stdlib distutils, which supports mingw obviously.

With Python 3.12 no longer providing a distutils this no longer works.

Instead use the pending distutils PR which adds mingw support to
the new external distutils in https://github.com/pypa/distutils/pull/184
and patch the vendored version in setuptools.

This makes Python 3.12 work (outside of venvs and isolated build envs at least)
and also gives the PR some real world testing when we build MSYS2 Python
packages with it.

If this breaks something you can set SETUPTOOLS_USE_DISTUTILS=stdlib to
get the old behaviour, but please report any issues either way.
2024-01-05 19:34:12 +01:00
..