Files
pipenv/tasks/vendoring/patches/vendor/pipdeptree-updated-pip18.patch
Dan Ryan f5f084bb5e remove trailing whitespace from patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-09 22:05:55 -04:00

20 lines
763 B
Diff

diff --git a/pipenv/vendor/pipdeptree.py b/pipenv/vendor/pipdeptree.py
index 7820aa5..2082fc8 100644
--- a/pipenv/vendor/pipdeptree.py
+++ b/pipenv/vendor/pipdeptree.py
@@ -13,11 +13,9 @@ try:
except ImportError:
from ordereddict import OrderedDict
-try:
- from pipenv.patched.notpip._internal import get_installed_distributions
- from pipenv.patched.notpip._internal.operations.freeze import FrozenRequirement
-except ImportError:
- from pipenv.patched.notpip import get_installed_distributions, FrozenRequirement
+pardir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+sys.path.append(pardir)
+from pipenv.vendor.pip_shims import get_installed_distributions, FrozenRequirement
import pkg_resources
# inline: