mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-20 23:08:29 +00:00
35 lines
681 B
TOML
35 lines
681 B
TOML
[project]
|
|
name = 'hanzo-nn'
|
|
requires-python = '>=3.7'
|
|
authors = [
|
|
{name = 'The ML Team'},
|
|
]
|
|
|
|
dynamic = [
|
|
'description',
|
|
'license',
|
|
'readme',
|
|
'version',
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = 'https://github.com/huggingface/hanzo'
|
|
Source = 'https://github.com/huggingface/hanzo'
|
|
|
|
[build-system]
|
|
requires = ["maturin>=1.0,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[tool.maturin]
|
|
python-source = "py_src"
|
|
module-name = "hanzo.hanzo"
|
|
bindings = 'pyo3'
|
|
features = ["pyo3/extension-module"]
|
|
|
|
[tool.black]
|
|
line-length = 119
|
|
target-version = ['py35']
|
|
|
|
[project.optional-dependencies]
|
|
testing = ["pytest", "black==26.3.1"]
|
|
huggingface = ["transformers>=4.53.0", "huggingface-hub>=0.17.3"] |