| 1 |
[build-system] |
| 2 |
requires = ["maturin>=1.0,<2.0"] |
| 3 |
build-backend = "maturin" |
| 4 |
|
| 5 |
[tool.maturin] |
| 6 |
bindings = "pyo3" |
| 7 |
|
| 8 |
[tool.maturin.target."x86_64-apple-darwin"] |
| 9 |
macos-deployment-target = "10.12" |
| 10 |
|
| 11 |
[tool.maturin.target."aarch64-apple-darwin"] |
| 12 |
macos-deployment-target = "11.0" |
| 13 |
|
| 14 |
[project] |
| 15 |
# The name pyo3_pure instead of pyo3-pure is intentional, |
| 16 |
# it's used as a crate name resolution regression test |
| 17 |
name = "pyo3_pure" |
| 18 |
version = "0.1.0+abc123de" |
| 19 |
classifiers = [ |
| 20 |
"Programming Language :: Rust" |
| 21 |
] |
| 22 |
description = "Implements a dummy function in Rust" |
| 23 |
readme = "README.md" |
| 24 |
maintainers = [ |
| 25 |
{name = "messense", email = "[email protected]"} |
| 26 |
] |
| 27 |
license = { file = "LICENSE" } |
| 28 |
dynamic = ["license"] # Allow license from Cargo.toml to be used |
| 29 |
|
| 30 |
[project.optional-dependencies] |
| 31 |
test = [ |
| 32 |
"attrs", |
| 33 |
"boltons; sys_platform == 'win32'" |
| 34 |
] |
| 35 |
|
| 36 |
[project.scripts] |
| 37 |
get_42 = "pyo3_pure:DummyClass.get_42" |
| 38 |
|
| 39 |
[project.gui-scripts] |
| 40 |
get_42_gui = "pyo3_pure:DummyClass.get_42" |