Code / pyproject.toml

pyproject.toml 40 lines
# =============================================================================
#  Project   : localvm-research
#  File      : pyproject.toml
#  Purpose   : Python project configuration (deps, ruff, pytest)
#  Author    : Simon-Pierre Boucher
#  Contact   : contact@spboucher.ai
#  Created   : 2026-08-11
#  Modified  : 2026-08-11
#  Platform  : macOS / Apple Silicon (arm64)
#  License   : All rights reserved (research code)
# =============================================================================

[project]
name = "localvm"
version = "0.0.1"
description = "Research: out-of-core execution of large pretrained LLMs on consumer Apple Silicon"
authors = [{ name = "Simon-Pierre Boucher", email = "contact@spboucher.ai" }]
requires-python = ">=3.11"
dependencies = [
    "numpy",
]

[project.optional-dependencies]
dev = ["ruff", "pytest"]
ml = ["mlx", "mlx-lm", "torch", "safetensors", "transformers"]

[tool.setuptools.packages.find]
where = ["src"]

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B"]

[tool.pytest.ini_options]
testpaths = ["src", "experiments"]
python_files = ["test_*.py"]