Skip to content

Commit

Permalink
Remove function that is no longer used. (#5250)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius authored Aug 15, 2022
1 parent abfa693 commit f2db1c4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pipenv/utils/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit f2db1c4

Please sign in to comment.