mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
- Specify compatibility = linux in pyproject.toml to ensure manylinux compatibility. - Use abi-py310 pyo3 feature to ensure compatibility with python 3.10 and later. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
20 lines
602 B
TOML
20 lines
602 B
TOML
[build-system]
|
|
requires = ["maturin>=1.4,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[project]
|
|
name = "regorus"
|
|
requires-python = ">=3.8"
|
|
classifiers = [
|
|
"Programming Language :: Rust",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[tool.maturin]
|
|
binding = ["cffi"]
|
|
# See https://github.com/mayeut/pep600_compliance?tab=readme-ov-file#distro-compatibility
|
|
# GLIBC releases: https://www.sourceware.org/glibc/wiki/Glibc%20Timeline
|
|
compatibility = "manylinux_2_34"
|
|
features = ["pyo3/extension-module"] |