feat: scaffold installable namespace package

This commit is contained in:
Tiara Rodney 2026-06-16 20:13:48 +02:00
parent 0ebf19b4ec
commit 0ace2597a3
Signed by: tiara
GPG key ID: 5CD8EC1D46106723
2 changed files with 82 additions and 0 deletions

77
pyproject.toml Normal file
View file

@ -0,0 +1,77 @@
[build-system]
requires = [
"setuptools",
"wheel",
"setuptools-scm[toml]"
]
build-backend = "setuptools.build_meta"
[project]
name = "tiararodney.sekft"
description = "Fine-tune small open models to operate a POSIX shell (sek)"
authors = [
{ name = "Tiara Rodney", email = "tiara.rodney@byteb4rb1e.me" }
]
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Shells",
"Typing :: Typed",
]
dependencies = [
"tiararodney.posix-sdc",
]
dynamic = ["version"]
requires-python = ">=3.9"
[project.optional-dependencies]
gpu = [
"torch",
"transformers",
"peft",
"datasets",
"accelerate",
"bitsandbytes",
"tensorboard",
]
[project.scripts]
sekft-train = "tiararodney.sekft.sft:main"
sekft-eval = "tiararodney.sekft.eval:main"
sekft-resident = "tiararodney.sekft.resident:main"
[project.urls]
Git = "https://git.code.tiararodney.com/tiararodney/sekft"
[tool.setuptools.packages.find]
where = ["src"]
namespaces = true
[tool.pytest.ini_options]
pythonpath = ["src", "../posix-sdc/src"]
testpaths = ["tests"]
markers = [
"pytest: integration tests runnable without external services",
"gpu: requires torch and a GPU",
"docker: requires Docker and the sekft-dash image",
]
[tool.mypy]
strict = true
[tool.autopep8]
max_line_length = 80
aggressive = 3
recursive = true
[tool.setuptools_scm]

View file

@ -0,0 +1,5 @@
"""sekft: fine-tune small open models to operate a POSIX shell (sek).
Consumes the posix-sdc dataset; the trainer, behavioural evaluator, and the
resident-base harness live here.
"""