summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/install_clib.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-08-04 09:43:28 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-08-04 09:43:28 +0000
commite559c897cec534c58ab7940e2623a1decfb4958a (patch)
tree1b3ab74709d2bfb6ddec59a1cac179c009847cae /numpy/distutils/command/install_clib.py
parentb0848b771b1a97d306da99e52fcc6d23c8e4aae9 (diff)
downloadnumpy-e559c897cec534c58ab7940e2623a1decfb4958a.tar.gz
Move import at the top of module.
Diffstat (limited to 'numpy/distutils/command/install_clib.py')
-rw-r--r--numpy/distutils/command/install_clib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/install_clib.py b/numpy/distutils/command/install_clib.py
index ddb10a162..8b8561bb2 100644
--- a/numpy/distutils/command/install_clib.py
+++ b/numpy/distutils/command/install_clib.py
@@ -1,5 +1,6 @@
import os
from distutils.core import Command
+from distutils.ccompiler import new_compiler
from numpy.distutils.misc_util import get_cmd
class install_clib(Command):
@@ -16,7 +17,6 @@ class install_clib(Command):
def run (self):
# We need the compiler to get the library name -> filename association
- from distutils.ccompiler import new_compiler
compiler = new_compiler(compiler=None)
compiler.customize(self.distribution)