dvc: refactor

This commit is contained in:
Fabian Affolter 2024-03-27 14:07:55 +01:00 committed by GitHub
parent 3875d6cab2
commit e141994dbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -76,17 +76,17 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace dvc/analytics.py \
--replace 'enabled = not os.getenv(DVC_NO_ANALYTICS)' 'enabled = False'
--replace-fail 'enabled = not os.getenv(DVC_NO_ANALYTICS)' 'enabled = False'
substituteInPlace dvc/daemon.py \
--subst-var-by dvc "$out/bin/dcv"
'';
nativeBuildInputs = [
build-system = [
pythonRelaxDepsHook
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
appdirs
colorama
configobj
@ -166,10 +166,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Version Control System for Machine Learning Projects";
mainProgram = "dvc";
homepage = "https://dvc.org";
changelog = "https://github.com/iterative/dvc/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ cmcdragonkai fab ];
mainProgram = "dvc";
};
}