Skip to content

Removing distutils from Python tool

Morten V. Pedersen requested to merge mortenvp/waf:fix-python-tool into master

We've been struggling with Windows support in our Python native extensions. After some digging it revealed that the distutils package was the cause of the issue.

To resolve this issue and anticipation of the upcoming distutils deprecation (https://www.python.org/dev/peps/pep-0632/).

Most of the distutils usage could be replaced with sysconfig. However, a few usages where not directly replaceable.

Let us know what you think.

Merge request reports