Skip to content
Permalink
Browse files

Log a warning when the [wheel] section is used (#239)

Has been considered legacy since
b2d2165 (2014-03-17) or version 0.23.0.
However, projects continue to use the [wheel] section. Adding a warning
might help move more projects to the recommended [bdist_wheel].
  • Loading branch information...
jdufresne authored and agronholm committed Sep 24, 2018
1 parent b8b21a5 commit f7c9878712390414c03c64e9afa55ea4f30e965b
Showing with 1 addition and 0 deletions.
  1. +1 −0 wheel/bdist_wheel.py
@@ -125,6 +125,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
logger.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

0 comments on commit f7c9878

Please sign in to comment.
You can’t perform that action at this time.