summaryrefslogtreecommitdiff
path: root/bootstrap.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-02 22:32:20 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-02 22:32:20 -0500
commit89bbe1de146a90bacb521ffeb6905a5f23498aa8 (patch)
treed4df0e591d76215c1ee7c5cfa39945205b8c6163 /bootstrap.py
parent16ee10c47583a4a2b7480af6fc5a205343acfdfd (diff)
parentb76da40361a632e084ee556910fd392e679e31ef (diff)
downloadpython-setuptools-git-89bbe1de146a90bacb521ffeb6905a5f23498aa8.tar.gz
Merge with 11.0
--HG-- branch : feature/issue-229
Diffstat (limited to 'bootstrap.py')
-rw-r--r--bootstrap.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/bootstrap.py b/bootstrap.py
index cbc1ca9d..70f96258 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():
@@ -43,7 +45,11 @@ def build_egg_info():
def run_egg_info():
- subprocess.check_call([sys.executable, 'setup.py', 'egg_info'])
+ cmd = [sys.executable, 'setup.py', 'egg_info']
+ print("Regenerating egg_info")
+ subprocess.check_call(cmd)
+ print("...and again.")
+ subprocess.check_call(cmd)
if __name__ == '__main__':