Skip to content

Commit

Permalink
BLD: add workaround in setup.py for newer setuptools
Browse files Browse the repository at this point in the history
(cherry picked from commit bf148bf)
  • Loading branch information
rgommers committed Dec 18, 2022
1 parent 8cec820 commit 5b0bc0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -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)
Expand Down

0 comments on commit 5b0bc0d

Please sign in to comment.