mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
remove unnecessary pip check
This commit is contained in:
+1
-11
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user