diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-24 22:47:05 +0200 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-24 22:47:05 +0200 |
| commit | b6f1098d451b9eb5cca099535310aba864437af6 (patch) | |
| tree | 5397aeaaf9c0ade2f09ea092f7870aa16b9b0658 | |
| parent | 25b5e86852c3214af0aadb218f33aa92d9372b49 (diff) | |
| download | python-setuptools-bitbucket-b6f1098d451b9eb5cca099535310aba864437af6.tar.gz | |
Replace import * with explicit imports, allowing linter to detect the missing imports reported in #53.
| -rwxr-xr-x | setuptools/package_index.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 9abd9679..f2ef50d8 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -6,8 +6,12 @@ import shutil import socket import base64 +from pkg_resources import ( + CHECKOUT_DIST, Distribution, BINARY_DIST, normalize_path, SOURCE_DIST, + require, Environment, find_distributions, safe_name, safe_version, + to_filename, Requirement, DEVELOP_DIST, +) from setuptools import ssl_support -from pkg_resources import * from distutils import log from distutils.errors import DistutilsError from setuptools.compat import (urllib2, httplib, StringIO, HTTPError, |
