diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-09-07 19:46:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-07 19:46:39 -0400 |
| commit | f11b87f894ae8ced8a91f57ac42f0195d7e515f1 (patch) | |
| tree | 230577e3f8211a317f6d8c7166ded67380e01b5d /setuptools/dist.py | |
| parent | ccb0b9732b9756dabfd8cb4443a5d9963a51088e (diff) | |
| download | python-setuptools-git-f11b87f894ae8ced8a91f57ac42f0195d7e515f1.tar.gz | |
Make warning a DistDeprecationWarning
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Diffstat (limited to 'setuptools/dist.py')
| -rw-r--r-- | setuptools/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index 3fa30485..5f114d4c 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -291,7 +291,7 @@ def assert_bool(dist, attr, value): def invalid_ignored_if_false(dist, attr, value): if not value: - warnings.warn("{attr} is ignored") + warnings.warn("{attr} is ignored", DistDeprecationWarning) return raise DistutilsSetupError(f"{attr} is invalid if it is set to a true value.") |
