-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (75 loc) · 3.18 KB
/
pyproject.toml
File metadata and controls
87 lines (75 loc) · 3.18 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
build-backend = "mesonpy"
requires = ["meson-python"]
[project]
name = "python-gmp"
dynamic = ["version"]
description = "Safe bindings to the GNU GMP library"
keywords = ["gmp", "multiple-precision", "arbitrary-precision", "bignum"]
license = "MIT"
license-files = ["LICENSE"]
readme = "README.rst"
authors = [{name = "Sergey B Kirpichev", email = "skirpichev@gmail.com"}]
maintainers = [{name = "Sergey B Kirpichev", email = "skirpichev@gmail.com"}]
classifiers = ["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: GraalPy",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules"]
requires-python = ">= 3.11"
[project.urls]
Homepage = "https://github.com/diofant/python-gmp"
"Source Code" = "https://github.com/diofant/python-gmp"
"Bug Tracker" = "https://github.com/diofant/python-gmp/issues"
Documentation = "https://python-gmp.readthedocs.io/en/latest/"
[project.optional-dependencies]
tests = ["pytest", "hypothesis", "mpmath"]
ci = ["python-gmp[tests]", "pytest-xdist"]
docs = ["sphinx>=8.2"]
develop = ["python-gmp[tests,docs]", "pre-commit", "pyperf"]
[tool.meson-python.args]
compile = ["--verbose"]
[tool.pytest.ini_options]
xfail_strict = true
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["E", "F", "I", "PT", "W", "Q", "SIM"]
[tool.cibuildwheel]
build-frontend = {name="build", args=["--verbose", "-Csetup-args=--vsenv"]}
enable = "pypy cpython-prerelease cpython-freethreading graalpy"
skip = "gp311_242* gp3*win*amd64*"
before-all = "sh scripts/cibw_before_all.sh"
test-extras = "ci"
test-command = "pytest {package}"
[tool.cibuildwheel.environment]
LD_LIBRARY_PATH = "$(pwd)/.local/lib:$LD_LIBRARY_PATH"
PKG_CONFIG_PATH = "$(pwd)/.local/lib/pkgconfig"
PYTEST_ADDOPTS = "-n 2"
CFLAGS = "-Wall -Wpedantic -Werror -Wconversion"
[tool.cibuildwheel.windows]
archs = ["auto64"]
before-all = "msys2 -c scripts/cibw_before_all.sh"
before-build = "pip install delvewheel"
repair-wheel-command = """delvewheel repair -w {dest_dir} {wheel} \
--add-path .local/bin"""
[tool.cibuildwheel.windows.environment]
PYTEST_ADDOPTS = "-n 2"
CFLAGS = ""