[MRG] Replaces numpy compiler with setuptools by ncassereau · Pull Request #409 · PythonOT/POT

Types of changes

Removes numpy ccompiler dependency. Replaces it with setuptools. The solution is based on scikit-learn (https://github.com/scikit-learn/scikit-learn/blob/main/sklearn/_build_utils/pre_build_helpers.py)

Motivation and context / Related issue

Resolves #408.

How has this been tested (if it applies)

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.