summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2021-11-20 12:03:53 +0100
committerGitHub <noreply@github.com>2021-11-20 12:03:53 +0100
commitdf9d79f24340c4135c52f020bcdfde26946c14bd (patch)
treeeb367ff90b4d0d1e5286fed019d6bbd347eb301c /numpy
parentd1e711fcb0d8132d607698889db6de6c3adedd8d (diff)
parentc2269a0608b607248d9b3adcda36b4b6a4c10bd4 (diff)
downloadnumpy-df9d79f24340c4135c52f020bcdfde26946c14bd.tar.gz
Merge pull request #20409 from mattip/setuptools3
MAINT: import setuptools before distutils in one `np.random` test
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/_examples/cython/setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/random/_examples/cython/setup.py b/numpy/random/_examples/cython/setup.py
index 7e0dd3e05..f41150fdb 100644
--- a/numpy/random/_examples/cython/setup.py
+++ b/numpy/random/_examples/cython/setup.py
@@ -4,6 +4,7 @@ Build the Cython demonstrations of low-level access to NumPy random
Usage: python setup.py build_ext -i
"""
+import setuptools # triggers monkeypatching distutils
from distutils.core import setup
from os.path import dirname, join, abspath