[build-system] requires = ["maturin>=1.0,<2.0"] build-backend = "maturin" [project] name = "pdftract" dynamic = ["version"] description = "PDF text extraction library with robust encoding detection" readme = "README.md" requires-python = ">=3.10" license = {text = "MIT OR Apache-2.0"} keywords = ["pdf", "text-extraction", "encoding-detection"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Rust", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Linguistic", ] [project.urls] Homepage = "https://github.com/jedarden/pdftract" Documentation = "https://github.com/jedarden/pdftract" Repository = "https://github.com/jedarden/pdftract" Issues = "https://github.com/jedarden/pdftract/issues" [tool.maturin] features = ["pyo3/extension-module"] # Strip symbols from the final wheel for smaller size strip = true # Use abi3 for forward compatibility across Python 3.10+ python-source = "python" # Include license files in the wheel license-files = ["../../LICENSE-MIT", "../../LICENSE-APACHE"] # Dynamic version from Cargo.toml version-provider = "cargo"