summaryrefslogtreecommitdiff
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
commitc67bdd2e0fc122df6e28ffafca32c31fdb591d90 (patch)
treef92fce7e114ebe24096d3205511fccdb102fbcc5 /setuptools/command/easy_install.py
parent8868c619b8aa64673f638c03a57775f38b218d8d (diff)
downloadpython-setuptools-bitbucket-c67bdd2e0fc122df6e28ffafca32c31fdb591d90.tar.gz
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