From 5b0bc0d349ca01ff07111bededcb529531869f43 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Tue, 29 Nov 2022 12:04:04 +0100 Subject: [PATCH 1/2] BLD: add workaround in setup.py for newer setuptools (cherry picked from commit bf148bf9cd1e5cde05353bfdbe11124523555f5c) --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 70b36bc7efdd..81ea6d1a0cf2 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) From 8b94271a74c11a742895e0c668533387cb4f65e0 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 18 Dec 2022 18:17:51 -0700 Subject: [PATCH 2/2] STY: Break long line. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 81ea6d1a0cf2..cd5f79340805 100755 --- a/setup.py +++ b/setup.py @@ -463,7 +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 + # workaround for broken --no-build-isolation with newer setuptools, + # see gh-21288 metadata["packages"] = [] try: