mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
18 lines
307 B
Python
18 lines
307 B
Python
from dvc.utils import is_binary
|
|
|
|
|
|
def check_build_patch():
|
|
try:
|
|
from .build import PKG # patched during conda package build
|
|
|
|
return PKG
|
|
except ImportError:
|
|
return None
|
|
|
|
|
|
def get_package_manager():
|
|
if not is_binary():
|
|
return "pip"
|
|
|
|
return check_build_patch()
|