From 670b12649e34164514fc4981d8fbacfadf1f389e Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 28 Mar 2013 10:03:43 -0600 Subject: 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. --- tools/osxbuild/build.py | 1 + tools/osxbuild/install_and_test.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/osxbuild') 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 -- cgit v1.2.1