Refactor into proper Python package with pyproject.toml #1
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/cognitive-memory#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Convert the flat module layout into a proper Python package with
pyproject.tomlfor clean installation and dependency management.Current State
All modules are flat files in the project root:
client.py,cli.py,common.py,analysis.py,edges.py,embeddings.py,mcp_server.py~/.local/bin/claude-memorydoescd /mnt/NV2/Development/cognitive-memory && exec uv run python client.py "$@"Target State
Tasks
pyproject.tomlwith[project.scripts]entry pointssrc/cognitive_memory/packagefrom common import ...etc.)__init__.pywith version infouv pip install -e .for developmentclaude-memorywrapper to use the installed entry point