-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
75 lines (68 loc) · 1.91 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
[build-system]
requires = [
"setuptools",
"wheel",
"cffi>=1.5.0; python_version < '3.14'",
"cffi>=2.0.0b1; python_version >= '3.14'",
]
build-backend = "setuptools.build_meta"
[project]
name = "pycares"
dynamic = ["version"]
description = "Python interface for c-ares"
readme = {file = "PYPIREADME.rst", content-type = "text/x-rst"}
requires-python = ">=3.9"
license = "MIT"
authors = [
{name = "Saúl Ibarra Corretgé", email = "s@saghul.net"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"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 :: 3 - Stable",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"cffi>=1.5.0; python_version < '3.14'",
"cffi>=2.0.0b1; python_version >= '3.14'",
]
[project.optional-dependencies]
idna = ["idna >= 2.1"]
[project.urls]
Homepage = "http://github.com/saghul/pycares"
[tool.setuptools]
zip-safe = false
package-dir = {"" = "src"}
packages = ["pycares"]
[tool.setuptools.dynamic]
version = {attr = "pycares._version.__version__"}
[tool.cibuildwheel]
build = "cp3*"
[tool.cibuildwheel.linux]
archs = ["auto", "aarch64", "ppc64le", "s390x"]
before-all = """
set -eux
# musllinux_*
if command -v apk; then
apk add libffi-dev
fi
# manylinux_2_24
if command -v apt; then
apt install libffi-dev
fi
# manylinux_*
if command -v yum; then
yum install -y libffi-devel
fi
"""