From a81b616547845b80c52e642bfe56180676d46d0c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 2 Sep 2013 14:16:19 -0400 Subject: Move imports to header --- setuptools/command/easy_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 66dc798b..a7a40e26 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -24,6 +24,8 @@ import random import platform import textwrap import warnings +import site +import struct from glob import glob from distutils import log, dir_util @@ -73,10 +75,8 @@ __all__ = [ 'main', 'get_exe_prefixes', ] -import site HAS_USER_SITE = not sys.version < "2.6" and site.ENABLE_USER_SITE -import struct def is_64bit(): return struct.calcsize("P") == 8 -- cgit v1.2.3