diff --git a/handlers/__init__.py b/handlers/__init__.py new file mode 100644 index 0000000..581cc81 --- /dev/null +++ b/handlers/__init__.py @@ -0,0 +1 @@ +"""Command handlers package for the Chroma CLI.""" diff --git a/pyproject.toml b/pyproject.toml index 4e00b28..53350d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,11 @@ +[build-system] +requires = ["setuptools>=80", "wheel"] +build-backend = "setuptools.build_meta" + [project] -name = "chroma" -version = "0.1.0" -description = "Add your description here" +name = "chromy" +version = "1.0.0" +description = "Chromy is a minimal CLI RAG system based on Chromadb" readme = "README.md" requires-python = ">=3.12" dependencies = [ @@ -14,5 +18,20 @@ dependencies = [ "transformers>=5.5.4", ] +[project.scripts] +chromy = "main:main" + +[tool.setuptools] +packages = ["handlers"] +py-modules = [ + "main", + "cli_app", + "cli_parser", + "chroma_functions", + "chunk_functions", + "embed", + "utilities", +] + [dependency-groups] dev = ["nuitka[onefile]>=4.0.8"] diff --git a/uv.lock b/uv.lock index fb682d9..d3e0fef 100644 --- a/uv.lock +++ b/uv.lock @@ -212,7 +212,7 @@ wheels = [ [[package]] name = "chroma" version = "0.1.0" -source = { virtual = "." } +source = { editable = "." } dependencies = [ { name = "chromadb" }, { name = "openai" },