-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
83 lines (69 loc) · 1.67 KB
/
pyproject.toml
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
[build-system]
requires = ["cffi>=1.17.1", "setuptools", "urllib3", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ada-url"
version = "1.15.3"
authors = [
{name = "Bo Bayles", email = "[email protected]"},
]
description = 'URL parser and manipulator based on the WHAT WG URL standard'
readme = "README.rst"
requires-python = ">=3.9"
license = {text = "Apache 2.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"cffi",
]
[project.urls]
Homepage = "https://www.ada-url.com/"
Documentation = "https://ada-url.readthedocs.io"
Repository = "https://github.com/ada-url/ada-python"
[tool.setuptools.packages.find]
exclude = ["tests"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
ada_url = ["*.c", "*.h", "*.o"]
[tool.ruff]
line-length = 88
target-version = "py39"
exclude = [
".git",
".ruff_cache",
]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = ["E", "F"]
ignore = ["E501"]
[tool.coverage.run]
include = [
"ada_url/**",
]
[tool.cibuildwheel]
build = [
"cp39-*",
"cp310-*",
"cp311-*",
"cp312-*",
"cp313-*",
"pp39-*",
"pp310-*",
]
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"]
[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]
environment = { MACOSX_DEPLOYMENT_TARGET="10.15" }
before-build = "make clean"
[tool.cibuildwheel.windows]
archs = ["AMD64"]
# https://github.com/pypy/pypy/issues/5027
[[tool.cibuildwheel.overrides]]
select = "pp3{9,10}-win_amd64"
environment = { SETUPTOOLS_USE_DISTUTILS="stdlib" }