41 lines
770 B
TOML
41 lines
770 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.27"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "blum-finance"
|
|
version = "0.2.0"
|
|
description = "Structured local inference and opt-in contribution tools for BLUM Finance."
|
|
requires-python = ">=3.11"
|
|
license = { text = "Apache-2.0" }
|
|
dependencies = [
|
|
"pydantic>=2.10,<3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
inference = [
|
|
"accelerate>=1.2",
|
|
"torch>=2.4",
|
|
"transformers>=4.51",
|
|
]
|
|
mlx = [
|
|
"mlx-lm>=0.31,<0.32",
|
|
]
|
|
hub = [
|
|
"huggingface-hub>=0.30",
|
|
]
|
|
release = [
|
|
"huggingface-hub>=0.30",
|
|
"jinja2>=3.1",
|
|
]
|
|
test = [
|
|
"pytest>=8.3",
|
|
]
|
|
|
|
[project.scripts]
|
|
blum-contribute = "blum_finance.contributions:main"
|
|
blum-memory-add = "blum_finance.memory:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["blum_finance"]
|