summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2022-11-29 12:04:04 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2022-11-29 12:08:46 +0100
commitbf148bf9cd1e5cde05353bfdbe11124523555f5c (patch)
tree03c8e16cb867112052e5604593b6439da29f322f
parent16be220591d39c9f8f5b8e9d6bce5566a77aedac (diff)
downloadnumpy-bf148bf9cd1e5cde05353bfdbe11124523555f5c.tar.gz
BLD: add workaround in setup.py for newer setuptools
-rwxr-xr-xsetup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 70b36bc7e..81ea6d1a0 100755
--- a/setup.py
+++ b/setup.py
@@ -463,6 +463,8 @@ def setup_package():
else:
#from numpy.distutils.core import setup
from setuptools import setup
+ # workaround for broken --no-build-isolation with newer setuptools, see gh-21288
+ metadata["packages"] = []
try:
setup(**metadata)