summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-12-03 22:17:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-02-05 09:23:01 -0500
commit4cbbb99a953ac5b1fec3b1dfdd106a7781f4293d (patch)
tree12ec09db8d0a3f6f7e58cbca59277200e6a53ed2 /setuptools/command/easy_install.py
parente9cde4e51a38ae232897aa73b8be5af1a18d46fe (diff)
downloadpython-setuptools-git-4cbbb99a953ac5b1fec3b1dfdd106a7781f4293d.tar.gz
Move ensure_directory into setuptools.
Diffstat (limited to 'setuptools/command/easy_install.py')
-rw-r--r--setuptools/command/easy_install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index ef1a9b23..b1260dcd 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -56,12 +56,13 @@ from setuptools.package_index import (
from setuptools.command import bdist_egg, egg_info
from setuptools.wheel import Wheel
from pkg_resources import (
- yield_lines, normalize_path, resource_string, ensure_directory,
+ yield_lines, normalize_path, resource_string,
get_distribution, find_distributions, Environment, Requirement,
Distribution, PathMetadata, EggMetadata, WorkingSet, DistributionNotFound,
VersionConflict, DEVELOP_DIST,
)
import pkg_resources
+from .._path import ensure_directory
# Turn on PEP440Warnings
warnings.filterwarnings("default", category=pkg_resources.PEP440Warning)