diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-02-13 20:33:01 +0000 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-02-13 20:33:01 +0000 |
| commit | 925a792d8c7f69500c0169c932df08f73f30f6fe (patch) | |
| tree | a020d8e42fb57388bed847a7fcf8fdfae2e05f3b /setuptools | |
| parent | 52c605573716db3100543be728addf1bce965802 (diff) | |
| parent | de2361c389304603f0daf70b0ee0647af0b9e981 (diff) | |
| download | python-setuptools-git-925a792d8c7f69500c0169c932df08f73f30f6fe.tar.gz | |
Add a DeprecationWarning to pkg_resources.declare_namespace (#3434)
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/dist.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index 49d1ac6b..eb59f3a0 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -280,7 +280,9 @@ def check_nsp(dist, attr, value): ) msg = ( "The namespace_packages parameter is deprecated, " - "consider using implicit namespaces instead (PEP 420)." + "consider using implicit namespaces instead (PEP 420). " + "See https://setuptools.pypa.io/en/latest/references/" + "keywords.html#keyword-namespace-packages" ) warnings.warn(msg, SetuptoolsDeprecationWarning) |
