summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)