Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (72 loc) · 3.13 KB
/
Copy pathsetup.py
File metadata and controls
76 lines (72 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python3
"""Mnemosyne OS — zero-dependency AI Agent Memory Engine.
PyPI 包名:``mnemosyne-os``(导入名仍是 ``mnemosyne``)。
历史上短暂发布过 ``ai-memo-os``,2026-10-26 起统一回 ``mnemosyne-os``。
"""
from setuptools import setup, find_packages
import os
HERE = os.path.dirname(os.path.abspath(__file__))
def _read_long_desc():
for name in ("comparison.md", "README.md"):
p = os.path.join(HERE, name)
if os.path.exists(p):
try:
return open(p, encoding="utf-8").read()
except Exception:
pass
return "Zero-dependency AI Agent Memory Engine."
setup(
name="mnemosyne-os",
version="8.1.0.post1",
description="Zero-dependency, local-first AI memory engine: graph memory, multimodal ingestion, reranking, temporal reasoning, hash-chained audit ledger, capsule compression, memory formation + runtime layers.",
long_description=_read_long_desc(),
long_description_content_type="text/markdown",
author="Mnemosyne OS contributors",
url="https://ai-memory.net/",
project_urls={
"Homepage": "https://ai-memory.net/",
"Documentation": "https://ai-memory.net/docs/",
"Handbook": "https://ai-memory.net/ai-memory-handbook/",
"Source": "https://github.com/MnemosyneOS/mnemosyne",
"Changelog": "https://github.com/MnemosyneOS/mnemosyne/blob/main/CHANGELOG.md",
},
license="MIT",
packages=find_packages(exclude=("tests", "tests.*", "benchmarks", "quality_eval")),
python_requires=">=3.8",
install_requires=[],
extras_require={
"numpy": ["numpy"],
"transformers": ["transformers"],
"tiktoken": ["tiktoken"],
},
include_package_data=True,
package_data={
"mnemosyne.webui": [
"static/index.html", "static/logo.jpg",
"static/css/app.css", "static/js/app.js",
"web_config/agents.json", "web_config/api.md",
"web_config/external_sources.json", "web_config/namespace.json",
"web_config/profiles.json",
],
},
entry_points={
"console_scripts": [
"mnemosyne=mnemosyne.cli:main",
"mnemosyne-web=mnemosyne.webui.web_server:run_server",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords="ai-memory, ai memory, agent-memory, agent memory, long-term-memory, persistent-memory, memory-layer, memory-infrastructure, semantic-memory, episodic-memory, knowledge-graph, context-engineering, llm-memory, mcp, model-context-protocol, rag, retrieval, zero-dependency, local-first, sqlite, token-optimization",
)