feat(python): add native distribution and release infrastructure
- add the Rust-backed Python API with PyStemmer compatibility - distribute standard compiled models as a separate Python package - generate model artifacts during builds instead of storing them in Git - add GitHub release and Pages-backed package index workflows - add Python tests, benchmarks, documentation, and Gradle integration - refresh the documentation site, branding, and language benchmarks
This commit is contained in:
29
python/models-standard/pyproject.toml
Normal file
29
python/models-standard/pyproject.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=77"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "radixor-models-standard"
|
||||
version = "0.0.0"
|
||||
requires-python = ">=3.9"
|
||||
description = "Precompiled standard language models for Radixor"
|
||||
readme = "README.md"
|
||||
license = "CC-BY-SA-3.0"
|
||||
license-files = ["LICENSE-MODEL-DATA.txt"]
|
||||
keywords = ["stemming", "nlp", "linguistics", "model-data"]
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Text Processing :: Linguistic",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["radixor_models_standard*"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
radixor_models_standard = ["manifest.json"]
|
||||
"radixor_models_standard.models" = ["*.rxc"]
|
||||
"radixor_models_standard.notices" = ["*/*.txt"]
|
||||
Reference in New Issue
Block a user