summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2022-06-28 11:16:58 +0200
committerBenoit Pierre <benoit.pierre@gmail.com>2022-07-02 16:09:17 +0200
commit36981f1419b4bcf88b074a8296f235f602e8e8c0 (patch)
treeabd112a956a39fa7adb7c5366edd86952c9aec63 /setuptools/command/egg_info.py
parentaa4fa92cfb9cd32e8d4a2cfe3f52e783209c32e7 (diff)
downloadpython-setuptools-git-36981f1419b4bcf88b074a8296f235f602e8e8c0.tar.gz
setuptools: drop support for installing an entrypoint dependencies
It does not work (broken since `v60.8.0`: the code in `_install_dependencies` forgets to add the newly installed egg to `sys.path`), and is unnecessary as it's the job of the code handling `setup_requires` to ensure all necessary build requirements are installed.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r--setuptools/command/egg_info.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index c37ab81f..42a0178f 100644
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -296,7 +296,6 @@ class egg_info(InfoCommon, Command):
self.mkpath(self.egg_info)
os.utime(self.egg_info, None)
for ep in metadata.entry_points(group='egg_info.writers'):
- self.distribution._install_dependencies(ep)
writer = ep.load()
writer(self, ep.name, os.path.join(self.egg_info, ep.name))