aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/_deprecation_warning.py
diff options
context:
space:
mode:
authorPaul Ganssle <pganssle@users.noreply.github.com>2018-10-29 12:41:50 -0400
committerGitHub <noreply@github.com>2018-10-29 12:41:50 -0400
commit566f3aadfa112b8d6b9a1ecf5178552f6e0f8c6c (patch)
tree661aa631695a78bb6011888cf49edf0b60b7dbd4 /setuptools/_deprecation_warning.py
parent29f9cb087fd107f412e2a2f0df877e3b14a75be9 (diff)
parent3a9dc2b03ef313ee7729606fb56ae9b41066dfd1 (diff)
downloadexternal_python_setuptools-566f3aadfa112b8d6b9a1ecf5178552f6e0f8c6c.tar.gz
external_python_setuptools-566f3aadfa112b8d6b9a1ecf5178552f6e0f8c6c.tar.bz2
external_python_setuptools-566f3aadfa112b8d6b9a1ecf5178552f6e0f8c6c.zip
Merge pull request #1545 from robinjhuang/custom-deprecation-warnings
Custom deprecation warning classes.
Diffstat (limited to 'setuptools/_deprecation_warning.py')
-rw-r--r--setuptools/_deprecation_warning.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/setuptools/_deprecation_warning.py b/setuptools/_deprecation_warning.py
new file mode 100644
index 00000000..086b64dd
--- /dev/null
+++ b/setuptools/_deprecation_warning.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.
+ """