summaryrefslogtreecommitdiff
path: root/tools/win32build/build.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
commitbb726ca19f434f5055c0efceefe48d89469fcbbe (patch)
tree889782afaf67fd5acb5f222969251871c0c46e5a /tools/win32build/build.py
parent7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff)
downloadnumpy-bb726ca19f434f5055c0efceefe48d89469fcbbe.tar.gz
2to3: Apply `print` fixer.
Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
Diffstat (limited to 'tools/win32build/build.py')
-rw-r--r--tools/win32build/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/win32build/build.py b/tools/win32build/build.py
index dc12e807d..782ef3d5e 100644
--- a/tools/win32build/build.py
+++ b/tools/win32build/build.py
@@ -8,7 +8,7 @@ TODO:
- make the config configurable with a file
"""
-from __future__ import division
+from __future__ import division, print_function
import sys
import subprocess
@@ -51,7 +51,7 @@ def write_site_cfg(arch):
f.close()
def build(arch, pyver):
- print "Building numpy binary for python %s, arch is %s" % (get_python_exec(pyver), arch)
+ print("Building numpy binary for python %s, arch is %s" % (get_python_exec(pyver), arch))
get_clean()
write_site_cfg(arch)