range / pyproject.toml
Brianferrell787's picture
Publish retained Phase60 CUDA preview with matching installation wheels
8947dc2 verified
Raw History Blame Contribute Delete
2.34 kB
[build-system]
requires = ["maturin>=1.13.3,<2"]
build-backend = "maturin"
[project]
name = "range-curate"
version = "0.1.0a3"
description = "RANGE: Rapid Annotation, Normalization, and Gating Engine."
readme = "PACKAGE_README.md"
requires-python = ">=3.10,<3.11"
license = { file = "LICENSE" }
authors = [
{ name = "Brian Ferrell" },
]
keywords = [
"dataset curation",
"text filtering",
"information retrieval",
"high throughput",
"taxonomy",
"Arrow",
"Rust",
]
dependencies = [
"PyYAML>=6.0.3,<7",
"ahocorasick-rs>=1.0.3,<2",
"tzdata>=2026.3; platform_system == 'Windows'",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Rust",
"Topic :: Text Processing",
"Typing :: Typed",
]
[project.optional-dependencies]
arrow = ["pyarrow>=18"]
demo = ["gradio>=6.27,<7", "starlette>=1.6,<2"]
benchmark = [
"datasets>=3,<5",
"huggingface-hub>=0.27",
"pyarrow>=18",
]
test = [
"pytest>=8",
"pyarrow>=18",
]
release = [
"build>=1.2,<2",
"check-wheel-contents>=0.6,<1",
"twine>=6,<7",
]
[tool.maturin]
bindings = "pyo3"
auditwheel = "repair"
python-source = "src"
python-packages = ["range_curate"]
module-name = "range_curate._native"
include = [
{ path = "src/range_curate/py.typed", format = "wheel" },
{ path = "src/range_curate/_core/configs/*.yml", format = "wheel" },
{ path = "src/range_curate/_core/catalogs/*.yml", format = "wheel" },
{ path = "Cargo.lock", format = "sdist" },
{ path = "rust/generated/*.bin", format = "sdist" },
{ path = "rust/generated/unicode_meta.txt", format = "sdist" },
{ path = "CHANGELOG.md", format = "sdist" },
{ path = "CITATION.cff", format = "sdist" },
{ path = "cuda/**", format = "sdist" },
{ path = "app/*.py", format = "sdist" },
{ path = "app/*.md", format = "sdist" },
{ path = "app/Dockerfile", format = "sdist" },
{ path = "app/requirements.txt", format = "sdist" },
{ path = "app/.dockerignore", format = "sdist" },
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--strict-markers -ra"