diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-05 13:19:43 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-05 17:29:25 -0600 |
commit | 7fa8ab6ac29c1dccf34dae5c53211ace67620ed7 (patch) | |
tree | 29c6f65a680e9bb21bda2624ba1e38ace5d48525 /numpy/core/setup.py | |
parent | 8b3e9ae5262c1da1118370cd6e83db9b2166952e (diff) | |
download | numpy-7fa8ab6ac29c1dccf34dae5c53211ace67620ed7.tar.gz |
MAINT: Fix some pyflakes warnings in numpy/core/*.py
These fixes are not agressive as some of the code is complicated
and it is better to be careful.
The files numeric.py and numerictypes.py are not easily analysed
and the latter is self modifying. Pyflakes generates a number of
invalid warnings for those files.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index ac797562d..9221bd2c4 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -3,11 +3,9 @@ from __future__ import division, print_function import imp import os import sys -import shutil import pickle import copy import warnings -import re from os.path import join from numpy.distutils import log from distutils.dep_util import newer @@ -381,7 +379,7 @@ def visibility_define(config): def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration, dot_join - from numpy.distutils.system_info import get_info, default_lib_dirs + from numpy.distutils.system_info import get_info config = Configuration('core', parent_package, top_path) local_dir = config.local_path |