summaryrefslogtreecommitdiff
path: root/SetupTools.py
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@monkeypox.org>2009-11-08 15:22:10 -0800
committerR. Tyler Ballance <tyler@monkeypox.org>2009-11-16 00:04:04 -0800
commit0b8c21f8f3cc5f95f2184bf717b62f2888ed4935 (patch)
treef8450c987a3b178936b5d62a8820d1a803788c49 /SetupTools.py
parenta23cfe7fc38af7f38a5d032592456152f635f995 (diff)
downloadpython-cheetah-0b8c21f8f3cc5f95f2184bf717b62f2888ed4935.tar.gz
Refactor raw print statements in accordance with 2to3
Removed prints in a couple places entirely, some of this code should likely use the `logging` module instead
Diffstat (limited to 'SetupTools.py')
-rw-r--r--SetupTools.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/SetupTools.py b/SetupTools.py
index d08eef2..096ee40 100644
--- a/SetupTools.py
+++ b/SetupTools.py
@@ -158,14 +158,14 @@ def run_setup(configurations):
try:
apply(setup, (), kws)
except BuildFailed, x:
- print "One or more C extensions failed to build."
- print "Details: %s" % x
- print "Retrying without C extensions enabled."
+ print("One or more C extensions failed to build.")
+ print("Details: %s" % x)
+ print("Retrying without C extensions enabled.")
del kws['ext_modules']
apply(setup, (), kws)
- print "One or more C extensions failed to build."
- print "Performance enhancements will not be available."
- print "Pure Python installation succeeded."
+ print("One or more C extensions failed to build.")
+ print("Performance enhancements will not be available.")
+ print("Pure Python installation succeeded.")