silx
silx copied to clipboard
Remove use of `distutils` from `setup.py`
trafficstars
distutils is depracated and will be removed in Python 3.12 PEP 632, we should get rid of it.
After PR #3585, remaining distutils usage will be:
from distutils.command.clean import clean: Inherited to remove.c,.cppfiles generated by Cythonfrom distutils.command.build import build: Inherited to pass options forforce_cythonanduse_openmp. Those options are used bybuild_extand notbuild, so they could be moved tobuild_extinstead (which comes fromsetuptools) and/or provided as environment variable (even if env. var. are not self-documented, but passing options through pip's--global-optionis cumbersome).