aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-19 11:29:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-01-19 11:29:30 -0500
commitd09dd5ff998887536e3e898ec7c007053d96e0aa (patch)
tree41207f37ca032e04bae47bfa3acc8c1530c626c9 /bootstrap.py
parentfcc9680fd931645d0e6928a358d726daa1ab220e (diff)
downloadexternal_python_setuptools-d09dd5ff998887536e3e898ec7c007053d96e0aa.tar.gz
external_python_setuptools-d09dd5ff998887536e3e898ec7c007053d96e0aa.tar.bz2
external_python_setuptools-d09dd5ff998887536e3e898ec7c007053d96e0aa.zip
Include PKG-INFO in minimal egg-info so that metadata doesn't need to be generated twice during bootstrap.
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 8c7d7fc3..077bf690 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -25,6 +25,7 @@ minimal_egg_info = textwrap.dedent("""
entry_points = setuptools.dist:check_entry_points
[egg_info.writers]
+ PKG-INFO = setuptools.command.egg_info:write_pkg_info
dependency_links.txt = setuptools.command.egg_info:overwrite_arg
entry_points.txt = setuptools.command.egg_info:write_entries
requires.txt = setuptools.command.egg_info:write_requirements
@@ -52,8 +53,6 @@ def run_egg_info():
cmd = [sys.executable, 'setup.py', 'egg_info']
print("Regenerating egg_info")
subprocess.check_call(cmd)
- print("...and again.")
- subprocess.check_call(cmd)
def main():