aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-09-02 14:16:19 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-09-02 14:16:19 -0400
commita81b616547845b80c52e642bfe56180676d46d0c (patch)
tree4647636ff76a49b8ec625ea10282e3987e48a9cb /setuptools/command/easy_install.py
parent420493f6338b6511cddb6b6bcafcdb33415afe4b (diff)
downloadexternal_python_setuptools-a81b616547845b80c52e642bfe56180676d46d0c.tar.gz
external_python_setuptools-a81b616547845b80c52e642bfe56180676d46d0c.tar.bz2
external_python_setuptools-a81b616547845b80c52e642bfe56180676d46d0c.zip
Move imports to header
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
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