Skip to content

Commit

Permalink
Fix undefined log function in bdist_wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jun 19, 2024
1 parent 2299319 commit 63a2eb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setuptools/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,7 @@ def finalize_options(self):
wheel = self.distribution.get_option_dict("wheel")
if "universal" in wheel:
# please don't define this in your global configs
log.warning(
"The [wheel] section is deprecated. Use [bdist_wheel] instead.",
)
log.warn("The [wheel] section is deprecated. Use [bdist_wheel] instead.")
val = wheel["universal"][1].strip()
if val.lower() in ("1", "true", "yes"):
self.universal = True
Expand Down

0 comments on commit 63a2eb3

Please sign in to comment.