python3Packages.gguf: specify optional-dependencies (#498966)
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
pyside6,
|
||||
pyyaml,
|
||||
requests,
|
||||
sentencepiece,
|
||||
tqdm,
|
||||
|
||||
# tests
|
||||
@@ -36,13 +35,15 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
pyside6
|
||||
pyyaml
|
||||
requests
|
||||
sentencepiece
|
||||
tqdm
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
gui = [ pyside6 ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "gguf" ];
|
||||
|
||||
Reference in New Issue
Block a user