Created
October 18, 2019 23:30
-
-
Save jaraco/b45998781be03918a21f17da996ee687 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setuptools master $ git diff | |
diff --git a/setuptools/dist.py b/setuptools/dist.py | |
index 2e5ad4bd..987d684e 100644 | |
--- a/setuptools/dist.py | |
+++ b/setuptools/dist.py | |
@@ -728,6 +728,10 @@ class Distribution(_Distribution): | |
if self.features: | |
self._set_global_opts_from_features() | |
+ hook_key = 'setuptools.finalize_distribution_options' | |
+ for ep in pkg_resources.iter_entry_points(hook_key): | |
+ ep.load()(self) | |
+ | |
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'): | |
value = getattr(self, ep.name, None) | |
if value is not None: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment