aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-24 22:47:05 +0200
committerJason R. Coombs <jaraco@jaraco.com>2013-07-24 22:47:05 +0200
commit9a3cc1cd285136180c9b59c821a01f755ddf8874 (patch)
treebda00f23ab37fdfc76148d42444023d70b94642b /setuptools/package_index.py
parent7b42936dc2dacbf91504c495b6cae569a1d88c95 (diff)
downloadexternal_python_setuptools-9a3cc1cd285136180c9b59c821a01f755ddf8874.tar.gz
external_python_setuptools-9a3cc1cd285136180c9b59c821a01f755ddf8874.tar.bz2
external_python_setuptools-9a3cc1cd285136180c9b59c821a01f755ddf8874.zip
Replace import * with explicit imports, allowing linter to detect the missing imports reported in #53.
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py6
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,