From 07e879f2f26d85bbb5c7437e7b1ff714774b3ed3 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 2 Jan 2015 21:49:37 -0500 Subject: Add output to determine if egg-info is being created. --- bootstrap.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bootstrap.py') diff --git a/bootstrap.py b/bootstrap.py index cbc1ca9d..919594f7 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -28,8 +28,10 @@ minimal_egg_info = textwrap.dedent(""" """) def ensure_egg_info(): - if not os.path.exists('setuptools.egg-info'): - build_egg_info() + if os.path.exists('setuptools.egg-info'): + return + print("adding minimal entry_points") + build_egg_info() def build_egg_info(): -- cgit v1.2.1 From 44d61f17fe8c04fc6046fe04a88a076a49ce6c2e Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 2 Jan 2015 21:57:30 -0500 Subject: Also print a message here --- bootstrap.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap.py') diff --git a/bootstrap.py b/bootstrap.py index 919594f7..60a1b88d 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -45,6 +45,7 @@ def build_egg_info(): def run_egg_info(): + print("Regenerating egg_info") subprocess.check_call([sys.executable, 'setup.py', 'egg_info']) -- cgit v1.2.1 From 685922ef03d8357a94624b799824bde61d27a9eb Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 2 Jan 2015 22:02:21 -0500 Subject: Try generating egg_info twice. --- bootstrap.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bootstrap.py') diff --git a/bootstrap.py b/bootstrap.py index 60a1b88d..70f96258 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -45,8 +45,11 @@ def build_egg_info(): def run_egg_info(): + cmd = [sys.executable, 'setup.py', 'egg_info'] print("Regenerating egg_info") - subprocess.check_call([sys.executable, 'setup.py', 'egg_info']) + subprocess.check_call(cmd) + print("...and again.") + subprocess.check_call(cmd) if __name__ == '__main__': -- cgit v1.2.1