Skip to content

Commit

Permalink
setup.py: import bdist_wheel from setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
m1-s committed Dec 22, 2024
1 parent 7d66aee commit 2ef341f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
requires = [
"wheel",
# pin setuptools:
# https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198
# Most likely cause:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
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
from wheel.bdist_wheel import bdist_wheel

import glob
import shlex
Expand Down

0 comments on commit 2ef341f

Please sign in to comment.