aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setuptools/dist.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index 9dbf04ba..5c84b8d4 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -808,9 +808,12 @@ class Feature:
@staticmethod
def warn_deprecated():
- warnings.warn("Features are deprecated and will be removed in "
- "a future version. See http://bitbucket.org/pypa/setuptools/65.",
- DeprecationWarning)
+ warnings.warn(
+ "Features are deprecated and will be removed in a future "
+ "version. See http://bitbucket.org/pypa/setuptools/65.",
+ DeprecationWarning,
+ stacklevel=3,
+ )
def __init__(self, description, standard=False, available=True,
optional=True, require_features=(), remove=(), **extras