From e559c897cec534c58ab7940e2623a1decfb4958a Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Tue, 4 Aug 2009 09:43:28 +0000 Subject: Move import at the top of module. --- numpy/distutils/command/install_clib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/distutils/command/install_clib.py') 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) -- cgit v1.2.1