From 14bec4f4cd268f95272ee947430de1902c0359df Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 19 Nov 2021 12:28:02 +0200 Subject: [PATCH] MAINT: import setuptools beforew distutils --- numpy/random/_examples/cython/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/numpy/random/_examples/cython/setup.py b/numpy/random/_examples/cython/setup.py index 7e0dd3e057a6..f41150fdb2fe 100644 --- a/numpy/random/_examples/cython/setup.py +++ b/numpy/random/_examples/cython/setup.py @@ -4,6 +4,7 @@ Usage: python setup.py build_ext -i """ +import setuptools # triggers monkeypatching distutils from distutils.core import setup from os.path import dirname, join, abspath