From 618e46af501d611485a0c3f04763fdf54a12e1b0 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Mon, 23 Dec 2024 15:02:10 +0300 Subject: [PATCH] setup.py: import bdist_wheel from setuptools (#810) --- pyproject.toml | 1 - setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c4915214f..db932f633 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [build-system] requires = [ - "wheel", # pin setuptools: # https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198 # Most likely cause: diff --git a/setup.py b/setup.py index 73a31067b..bbd5dbfb1 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import find_packages, setup, Command, Extension try: - from wheel.bdist_wheel import bdist_wheel + from setuptools.command.bdist_wheel import bdist_wheel except ImportError: bdist_wheel = None