From 3ba4b8bd4d952546a1bb5e847750cdac33efb797 Mon Sep 17 00:00:00 2001 From: n3hrox Date: Sun, 10 Nov 2019 22:10:19 +0100 Subject: [PATCH] remove unnecessary pip check --- dvc/utils/pkg.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/dvc/utils/pkg.py b/dvc/utils/pkg.py index f1a6fe3699..f5dace688c 100644 --- a/dvc/utils/pkg.py +++ b/dvc/utils/pkg.py @@ -1,17 +1,7 @@ -from dvc.utils import is_binary - - -def check_build_patch(): +def get_package_manager(): try: from .build import PKG # file created during dvc build return PKG except ImportError: return None - - -def get_package_manager(): - if not is_binary(): - return "pip" - - return check_build_patch()