Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
93 lines (89 loc) · 3.71 KB
/
Copy pathsetup.py
File metadata and controls
93 lines (89 loc) · 3.71 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
"""
Mnemosyne - Setup Configuration
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README
readme_path = Path(__file__).parent / "README.md"
long_description = readme_path.read_text(encoding="utf-8") if readme_path.exists() else ""
# Single source of truth for version
version_path = Path(__file__).parent / "mnemosyne" / "__init__.py"
_version = "0.1"
for line in version_path.read_text(encoding="utf-8").splitlines():
if line.startswith("__version__"):
_version = line.split("=")[1].strip().strip('"').strip("'")
break
setup(
name="mnemosyne-memory",
version=_version,
author="Abdias J",
author_email="1641797+AxDSan@users.noreply.github.com",
description="The Universal Memory Layer for Any AI Agent — Zero-Dependency, Sub-Millisecond, Fully Private",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/mnemosyne-oss/mnemosyne",
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
],
python_requires=">=3.10",
keywords=[
"ai",
"memory",
"sqlite",
"agent",
"llm",
"context",
"embeddings",
"vector-store",
"honcho",
"zep",
"mcp",
"openwebui",
"openclaw",
"cursor",
"claude-code",
"codex",
"hermes",
"model-context-protocol",
],
project_urls={
"Bug Reports": "https://github.com/mnemosyne-oss/mnemosyne/issues",
"Source": "https://github.com/mnemosyne-oss/mnemosyne",
"Documentation": "https://github.com/mnemosyne-oss/mnemosyne/blob/main/docs/README.md",
},
extras_require={
"llm": ["ctransformers>=0.2.27", "llama-cpp-python>=0.2.0", "huggingface-hub>=0.20"],
"embeddings": [
"fastembed>=0.3.0",
"onnxruntime>=1.21.0,<1.24; sys_platform == 'darwin' and platform_machine == 'x86_64'",
"onnxruntime>=1.21.0,<1.29; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"sqlite-vec>=0.1.9,<0.1.10",
],
"mcp": ["mcp>=2.0.0; python_version >= '3.10'", "anyio>=4.0; python_version >= '3.10'"],
"openclaw": ["openclaw>=0.1.0; python_version >= '3.10'"],
"media": ["pypdfium2>=4.30", "pillow>=10"],
"test": ["pytest>=7.0"],
"all": ["ctransformers>=0.2.27", "llama-cpp-python>=0.2.0", "huggingface-hub>=0.20", "fastembed>=0.3.0", "onnxruntime>=1.21.0,<1.24; sys_platform == 'darwin' and platform_machine == 'x86_64'", "onnxruntime>=1.21.0,<1.29; sys_platform != 'darwin' or platform_machine != 'x86_64'", "sqlite-vec>=0.1.9,<0.1.10", "mcp>=2.0.0; python_version >= '3.10'", "anyio>=4.0; python_version >= '3.10'"],
"dev": ["pytest>=7.0", "build", "twine"],
},
entry_points={
"console_scripts": [
"mnemosyne-install=mnemosyne.install:main",
"mnemosyne-uninstall=mnemosyne.install:uninstall_main",
"mnemosyne=mnemosyne.cli:run_cli",
"mnemosyne-browser=mnemosyne.integrations.memory_browser:main",
"mnemosyne-auto-save=mnemosyne.integrations.auto_save_openwebui:main",
],
},
)