summaryrefslogtreecommitdiff
path: root/setuptools/warnings.py
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-02-14 18:01:25 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-03-06 17:15:11 +0000
commit0f050a1cf4e71d79fb4402fe7ccbfcb148120234 (patch)
treeba661b0fe8fde9fd8a023bdc9675fe54c7832456 /setuptools/warnings.py
parentf51eccd769cab0297c64e4d007bef42544326431 (diff)
downloadpython-setuptools-git-0f050a1cf4e71d79fb4402fe7ccbfcb148120234.tar.gz
Move _deprecation_warning to warnings.
The objective is to centralize all the warnings in a single module.
Diffstat (limited to 'setuptools/warnings.py')
-rw-r--r--setuptools/warnings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/setuptools/warnings.py b/setuptools/warnings.py
new file mode 100644
index 00000000..086b64dd
--- /dev/null
+++ b/setuptools/warnings.py
@@ -0,0 +1,7 @@
+class SetuptoolsDeprecationWarning(Warning):
+ """
+ Base class for warning deprecations in ``setuptools``
+
+ This class is not derived from ``DeprecationWarning``, and as such is
+ visible by default.
+ """