[build-system] requires = ["scikit-build-core>=0.10"] build-backend = "scikit_build_core.build" [project] name = "rapidocr" version = "5.0.0a1" description = "PP-OCRv6 OCR with the native RapidOCR C++ engine" readme = "README.md" requires-python = ">=3.9" license = "Apache-2.0" authors = [{ name = "SWHL", email = "liekkaskono@163.com" }] keywords = ["ocr", "ppocr", "rapidocr"] classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: C++", ] dependencies = [ "numpy>=1.21", "Pillow>=9.0", "PyYAML>=6.0", ] [project.urls] Documentation = "https://rapidai.github.io/RapidOCRDocs" Repository = "https://github.com/RapidAI/RapidOCR" [project.scripts] rapidocr = "rapidocr.main:main" [tool.scikit-build] cmake.source-dir = ".." cmake.build-type = "Release" cmake.args = ["-DPPOCR_BUILD_EXAMPLES=OFF", "-DPPOCR_BUILD_TESTS=OFF"] wheel.packages = ["src/rapidocr"] minimum-version = "0.10" [tool.scikit-build.cmake.define] PPOCR_BUILD_SHARED = "ON" PPOCR_BUILD_STATIC = "OFF"