diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-04-15 13:55:23 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-04-15 13:55:23 -0400 |
commit | 79257540df94ffb3ea7ed5b7e5d185b0432c3b44 (patch) | |
tree | b2e88e03cca4cc30e30356c7c0008b1cd4c5dc3d /setuptools/command/easy_install.py | |
parent | 214208228150874c5507b1c51922a06393542023 (diff) | |
download | python-setuptools-bitbucket-79257540df94ffb3ea7ed5b7e5d185b0432c3b44.tar.gz |
Move import to the top
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index d947e548..5206698f 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -28,6 +28,8 @@ import site import struct from glob import glob from distutils import log, dir_util +from distutils.command.build_scripts import first_line_re + import pkg_resources from setuptools import Command, _dont_write_bytecode @@ -1528,8 +1530,6 @@ class PthDistributions(Environment): def _first_line_re(): - from distutils.command.build_scripts import first_line_re - # first_line_re in Python >=3.1.4 and >=3.2.1 is a bytes pattern. if not isinstance(first_line_re.pattern, str): return re.compile(first_line_re.pattern.decode()) |