d86a6b93ad
Python packaging: - pyproject.toml: pip install colibri-engine (editable dev install works) - colibri/ package with __version__, CLI entry point delegating to c/coli - Optional dependency groups: [convert] (numpy, huggingface_hub), [oracle] (torch, transformers, safetensors), [bench] (tokenizers, datasets) Code style: - .editorconfig: consistent indent/charset across all file types - .clang-format: LLVM-based, 120 col, matches existing engine style Usage: pip install -e . # dev install (CLI + serve, no heavy deps) pip install -e .[convert] # adds converter dependencies pip install -e .[oracle] # adds torch/transformers for oracle validation
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "colibri-engine"
|
|
dynamic = ["version"]
|
|
description = "Tiny engine, immense model — run GLM-5.2 (744B MoE) locally"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{name = "JustVugg"},
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Science/Research",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: MacOS",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
convert = [
|
|
"numpy",
|
|
"huggingface_hub",
|
|
]
|
|
oracle = [
|
|
"torch>=2.0",
|
|
"transformers>=4.40",
|
|
"safetensors",
|
|
]
|
|
bench = [
|
|
"tokenizers",
|
|
"datasets",
|
|
]
|
|
|
|
[project.scripts]
|
|
coli = "colibri.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/JustVugg/colibri"
|
|
Issues = "https://github.com/JustVugg/colibri/issues"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "colibri._version.__version__"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["colibri*"]
|