mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove function that is no longer used. (#5250)
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user