-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (87 loc) · 2.37 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (87 loc) · 2.37 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["xmake-python >= 0.1.5"]
build-backend = "xmake_python"
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[project]
name = "xmake-wheel"
version = "3.0.9"
description = "A cross-platform build utility based on Lua"
readme = "docs/python/README.md"
keywords = ["xmake"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[[project.authors]]
name = "ruki"
email = "waruqi@gmail.com"
[project.license]
text = "GPL v3"
[project.urls]
Homepage = "https://xmake.io/"
Download = "https://github.com/xmake-io/xmake-wheel/releases"
"Bug Report" = "https://github.com/xmake-io/xmake-wheel/issues"
Source = "https://github.com/xmake-io/xmake-wheel"
[tool.mdformat]
number = true
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["D205", "D400"]
preview = true
[tool.ruff.format]
docstring-code-format = true
preview = true
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"\\s*import tomli as tomllib",
]
[tool.cibuildwheel]
archs = ["all"]
build = "cp313-*"
# https://github.com/xmake-io/xmake/issues/6502
skip = "*-macosx_universal2"
build-frontend = "build[uv]"
[tool.cibuildwheel.environment]
XMAKE_ROOT = "y"
MACOSX_DEPLOYMENT_TARGET = "14.5"
[[tool.cibuildwheel.overrides]]
select = ["*-macosx_*", "*-win*"]
# AssertionError: uv not found
before-all = "pip install uv"
# https://github.com/astral-sh/uv/issues/10260
[[tool.cibuildwheel.overrides]]
select = ["*-musllinux_s390x", "*-musllinux_ppc64*"]
build-frontend = "build"
[[tool.cibuildwheel.overrides]]
select = ["*-musllinux_*"]
before-all = "apk add gzip"