Skip to content

Commit 2ef341f

Browse files
committed
setup.py: import bdist_wheel from setuptools
1 parent 7d66aee commit 2ef341f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build-system]
22
requires = [
3-
"wheel",
43
# pin setuptools:
54
# https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198
65
# Most likely cause:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
from setuptools import find_packages, setup, Command, Extension
1717

1818
try:
19-
from wheel.bdist_wheel import bdist_wheel
19+
from setuptools.command.bdist_wheel import bdist_wheel
2020
except ImportError:
21-
bdist_wheel = None
21+
from wheel.bdist_wheel import bdist_wheel
2222

2323
import glob
2424
import shlex

0 commit comments

Comments
 (0)