Skip to content

Commit

Permalink
Change deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Mar 28, 2021
1 parent d2200e0 commit 4f3fc2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setuptools/command/sdist.py
Expand Up @@ -208,9 +208,9 @@ def check_license(self):
else ordered_set.OrderedSet(license_files)

if 'license_file' in opts:
warnings.warn(
"The 'license_file' option is deprecated. Use 'license_files' instead.",
DeprecationWarning)
log.warn(
"warning: the 'license_file' option is deprecated, "
"use 'license_files' instead")
patterns.append(opts['license_file'][1])

if 'license_file' not in opts and 'license_files' not in opts:
Expand Down

0 comments on commit 4f3fc2e

Please sign in to comment.