diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-09 10:27:32 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-09 10:27:32 -0400 |
| commit | 20a2f628283a0af476020cc394e4dca1dcdeaadd (patch) | |
| tree | 0010be67ef8c942262e8e397b182f26bdde9ddea /setuptools/dist.py | |
| parent | c5645385252c45575569a01622405115d49cd1b9 (diff) | |
| download | python-setuptools-git-20a2f628283a0af476020cc394e4dca1dcdeaadd.tar.gz | |
Add Deprecation warning for _get_unpatched.
Diffstat (limited to 'setuptools/dist.py')
| -rw-r--r-- | setuptools/dist.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index 2f7bb59a..b004f928 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -22,6 +22,11 @@ from setuptools.monkey import get_unpatched import pkg_resources +def _get_unpatched(cls): + warnings.warn("Do not call this function", DeprecationWarning) + return get_unpatched(cls) + + # Based on Python 3.5 version def write_pkg_file(self, file): """Write the PKG-INFO format data to a file object. |
