summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build.py b/setuptools/command/build.py
index 932de472..7ab60ce6 100644
--- a/setuptools/command/build.py
+++ b/setuptools/command/build.py
@@ -19,6 +19,6 @@ class build(_build):
new subcommands. Using `distutils` directly is considered deprecated,
please use `setuptools.command.build`.
"""
- warnings.warns(msg, SetuptoolsDeprecationWarning)
+ warnings.warn(msg, SetuptoolsDeprecationWarning)
self.sub_commands = _build.sub_commands
super().run()