From f2db1c459a3cc0008db4da857963ce8ebaa8b5df Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 14 Aug 2022 23:48:21 -0400 Subject: [PATCH] Remove function that is no longer used. (#5250) --- pipenv/utils/shell.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pipenv/utils/shell.py b/pipenv/utils/shell.py index e77be0ab..030fb19b 100644 --- a/pipenv/utils/shell.py +++ b/pipenv/utils/shell.py @@ -48,16 +48,6 @@ def make_posix(path: str) -> str: return path -def get_pipenv_dist(pkg="pipenv", pipenv_site=None): - from pipenv.resolver import find_site_path - - pipenv_libdir = os.path.dirname(os.path.abspath(__file__)) - if pipenv_site is None: - pipenv_site = os.path.dirname(pipenv_libdir) - pipenv_dist, _ = find_site_path(pkg, site_dir=pipenv_site) - return pipenv_dist - - @contextmanager def chdir(path): """Context manager to change working directories."""