File: pyproject.toml

package info (click to toggle)
python-maturin 1.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,424 kB
  • sloc: python: 656; javascript: 93; sh: 55; makefile: 10
file content (63 lines) | stat: -rw-r--r-- 1,686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Workaround to bootstrap maturin on non-manylinux platforms
[build-system]
requires = [
    "setuptools>=77.0.0",
    "tomli>=1.1.0 ; python_version<'3.11'",
    "setuptools-rust>=1.11.0",
]
backend-path = ["maturin"]
build-backend = "bootstrap"

[project]
name = "maturin"
description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages"
authors = [{ name = "konstin", email = "konstin@mailbox.org" }]
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.7"
license = "MIT OR Apache-2.0"
license-files = [
    "license-mit",
    "license-apache",
]
classifiers = [
    "Topic :: Software Development :: Build Tools",
    "Programming Language :: Rust",
    "Programming Language :: Python :: Implementation :: CPython",
    "Programming Language :: Python :: Implementation :: PyPy",
    "Programming Language :: Python :: Implementation :: GraalPy",
]
dependencies = ["tomli>=1.1.0 ; python_version<'3.11'"]
dynamic = ["version"]

[project.optional-dependencies]
zig = ["ziglang>=0.10.0,<0.13.0"]
patchelf = ["patchelf"]

[project.urls]
"Source Code" = "https://github.com/PyO3/maturin"
Issues = "https://github.com/PyO3/maturin/issues"
Documentation = "https://maturin.rs"
Changelog = "https://maturin.rs/changelog.html"

[tool.setuptools]
packages = ["maturin"]

[tool.maturin]
bindings = "bin"

[tool.black]
target-version = ['py37']
extend-exclude = '''
# Ignore cargo-generate templates
^/src/templates
'''

[tool.ruff]
line-length = 120
target-version = "py37"

[tool.mypy]
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_no_return = true
ignore_missing_imports = true