aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/dist.py5
-rw-r--r--setuptools/monkey.py5
2 files changed, 9 insertions, 1 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.
diff --git a/setuptools/monkey.py b/setuptools/monkey.py
index 3e4f49e1..5a0cf43b 100644
--- a/setuptools/monkey.py
+++ b/setuptools/monkey.py
@@ -10,7 +10,10 @@ import setuptools
__all__ = []
-"everything is private"
+"""
+Everything is private. Contact the project team
+if you think you need this functionality.
+"""
def get_unpatched(cls):