Skip to content

Commit

Permalink
Remove error message if wheel is not installed
Browse files Browse the repository at this point in the history
Since pypa/setuptools#4369 was merged, wheel is vendored into setuptools and no
longer needs to be installed for `bdist_wheel` to work.
  • Loading branch information
hoodmane authored and peterjc committed Jun 25, 2024
1 parent ecae9c4 commit 48258ab
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@
"Try running: python -m ensurepip"
)

if "bdist_wheel" in sys.argv:
try:
import wheel # noqa: F401
except ImportError:
sys.exit(
"We need both setuptools AND wheel packages installed "
"for bdist_wheel to work. Try running: pip install wheel"
)


# Make sure we have the right Python version.
MIN_PY_VER = (3, 9)
Expand Down

0 comments on commit 48258ab

Please sign in to comment.