From 33ad647e31bec2dc2a32479eb06aa1c517ddd12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sat, 3 Nov 2012 09:53:41 +0100 Subject: [PATCH] make metadata collection files add build time --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 70b7cd3f..e9a0441d 100755 --- a/setup.py +++ b/setup.py @@ -493,7 +493,8 @@ class Setup(): for sharedir in [sharedir[0] for sharedir in sharedirs]: for sharefile in os.listdir(conf[sharedir]): if sharefile.endswith('.pony') and (sharefile != '.pony'): - Popen(['./ponysay-tool.py', '--dimensions', conf[sharedir]], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() + for toolcommand in ('--dimensions', '--metadata'): + Popen(['./ponysay-tool.py', toolcommand, conf[sharedir]], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() break for shell in [item[0] for item in shells]: