Skip to content

Commit

Permalink
Merge pull request #22820 from rgommers/backport-setuptools-compat-ch…
Browse files Browse the repository at this point in the history
…ange

BLD: add workaround in setup.py for newer setuptools
  • Loading branch information
charris committed Dec 19, 2022
2 parents a5238a1 + 8b94271 commit 92bdeb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Expand Up @@ -463,6 +463,9 @@ 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)
Expand Down

0 comments on commit 92bdeb4

Please sign in to comment.