msg
This commit is contained in:
1 parent
23da3cf87f
commit
810820658a
1 file changed
+9
-20
@@ -93,28 +93,17 @@ python3Packages.buildPythonApplication rec {
|
|||||||
# anything needed at runtime must live in this list.
|
# anything needed at runtime must live in this list.
|
||||||
pymupdf
|
pymupdf
|
||||||
ebooklib
|
ebooklib
|
||||||
|
# Runtime deps for the semantic-search tools (upstream "semantic" extra).
|
||||||
|
# zotero_mcp.semantic_search imports chromadb unconditionally at module
|
||||||
|
# scope (embeddings/providers/__init__.py, chroma_client.py), so these are
|
||||||
|
# hard requirements, not truly optional at runtime.
|
||||||
|
chromadb
|
||||||
|
sentence-transformers
|
||||||
|
openai
|
||||||
|
google-genai
|
||||||
|
tiktoken
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optional extras (semantic search, PDF, scite).
|
|
||||||
# NOTE: buildPythonApplication stores these in passthru only and does NOT
|
|
||||||
# install them; adding an extra here has no runtime effect.
|
|
||||||
optional-dependencies = with python3Packages; {
|
|
||||||
semantic = [
|
|
||||||
chromadb
|
|
||||||
sentence-transformers
|
|
||||||
openai
|
|
||||||
google-genai
|
|
||||||
tiktoken
|
|
||||||
];
|
|
||||||
pdf = [
|
|
||||||
pymupdf
|
|
||||||
ebooklib
|
|
||||||
];
|
|
||||||
scite = [
|
|
||||||
requests
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "zotero_mcp" ];
|
pythonImportsCheck = [ "zotero_mcp" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|||||||
Reference in new issue
Block a user