Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.py: Import distutils directly instead of through setuptools
In setuptools 65.6.0 the vendored distutils package changed to relative imports. Importing `setuptools._distutils` would import an unpatched version of distutils, while importing `distutils` directly imports a monkeypatched version that works. Reported upstream at pypa/setuptools#3743 and the problem was investigated by Anderson Bravalheri. Closes: alan-turing-institute#77
- Loading branch information