summaryrefslogtreecommitdiff
path: root/tools/osxbuild
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-03-28 10:03:43 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-03-28 10:03:43 -0600
commit670b12649e34164514fc4981d8fbacfadf1f389e (patch)
tree25a21446ff6bdab5d95584aa6663c4f790797bb4 /tools/osxbuild
parent25ec6853e17e96448ce7d8f18eda2ef5290c2acf (diff)
downloadnumpy-670b12649e34164514fc4981d8fbacfadf1f389e.tar.gz
2to3: Add `from __future__ import ...` to some files that were missed.
With the exception of numpy/distutils/tests/test_exec_command.py, all of these files are script files in tools/osxbuild and tools/win32build. The import in the script files omits `absolute_import` as they are not part of a package.
Diffstat (limited to 'tools/osxbuild')
-rw-r--r--tools/osxbuild/build.py1
-rw-r--r--tools/osxbuild/install_and_test.py5
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/osxbuild/build.py b/tools/osxbuild/build.py
index ef6006fa1..7aa9312dd 100644
--- a/tools/osxbuild/build.py
+++ b/tools/osxbuild/build.py
@@ -10,6 +10,7 @@ built using sudo so file permissions are correct when installed on
user system. Script will prompt for sudo pwd.
"""
+from __future__ import division
import os
import shutil
diff --git a/tools/osxbuild/install_and_test.py b/tools/osxbuild/install_and_test.py
index e9b34f5b0..651298b3f 100644
--- a/tools/osxbuild/install_and_test.py
+++ b/tools/osxbuild/install_and_test.py
@@ -1,5 +1,8 @@
#!/usr/bin/env python
-"""Install the built package and run the tests."""
+"""Install the built package and run the tests.
+
+"""
+from __future__ import division
import os