This commit is contained in:
Tensor Templar 2025-11-18 14:46:53 +08:00 committed by GitHub
commit 27ad8c76c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
rustbpe/pyproject.toml Normal file
View File

@ -0,0 +1,18 @@
[project]
name = "rustbpe"
version = "0.1.0"
description = "Rust BPE tokenizer from nanochat as standalone package"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = []
[build-system]
requires = ["maturin>=1.0"]
build-backend = "maturin"
[tool.maturin]
module-name = "rustbpe"
bindings = "pyo3"
python-source = "."
features = ["pyo3/extension-module"]