From 6430cac4477f441203e1100a5dc9e79428c36066 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Sun, 4 Nov 2012 00:53:18 -0700 Subject: Make setup.py print to stderr instead of stdout in at least one case. This helps when piping the output of `python setup.py --long-description` to other programs like rst2html.py. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7eda3d0..4cb2e78 100644 --- a/setup.py +++ b/setup.py @@ -365,7 +365,7 @@ def main(sys_argv): # TODO: use the logging module instead of printing. # TODO: include the following in a verbose mode. - print("pystache: using: version %s of %s" % (repr(dist.__version__), repr(dist))) + sys.stderr.write("pystache: using: version %s of %s\n" % (repr(dist.__version__), repr(dist))) command = sys_argv[-1] -- cgit v1.2.1