summaryrefslogtreecommitdiff
path: root/setuptools/monkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/monkey.py')
-rw-r--r--setuptools/monkey.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/monkey.py b/setuptools/monkey.py
index 23a5832d..5154d4c7 100644
--- a/setuptools/monkey.py
+++ b/setuptools/monkey.py
@@ -100,7 +100,9 @@ def patch_all():
def _patch_distribution_metadata():
"""Patch write_pkg_file and read_pkg_file for higher metadata standards"""
- for attr in ('write_pkg_file', 'read_pkg_file', 'get_metadata_version'):
+ for attr in (
+ 'write_pkg_info', 'write_pkg_file', 'read_pkg_file', 'get_metadata_version'
+ ):
new_val = getattr(setuptools._core_metadata, attr)
setattr(distutils.dist.DistributionMetadata, attr, new_val)