diff --git a/pyproject.toml b/pyproject.toml index 97d69e35f..46fd8f6b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ [build-system] requires = [ "setuptools>=75.3.1", - "wheel>=0.45.1", # used by our setup.py ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index c564235f4..61d91d999 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ import subprocess import sys import sysconfig -from wheel.bdist_wheel import bdist_wheel +from setuptools.command.bdist_wheel import bdist_wheel if sys.platform == 'win32': # distutils is deprecated in Python 3.10 and removed in 3.12. However, it still works because Python defines a compatibility interface as long as setuptools is installed.