-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 2.26 KB
/
pyproject.toml
File metadata and controls
81 lines (71 loc) · 2.26 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
[project]
name = "kson-lang"
# [[kson-version-num]]
version = "0.3.0.dev0"
authors = [
{ name="KSON", email="kson@kson.org" },
]
description = "KSON: a next-gen configuration language and love letter to the humans maintaining computer configuration"
readme = "readme.md"
requires-python = ">=3.11"
dependencies = [
"cffi>=1.17.1",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: File Formats :: JSON",
"Topic :: File Formats :: JSON :: JSON Schema",
"Topic :: Text Processing :: Markup",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
]
license = "Apache-2.0"
license-files = ["LICENSE*"]
[project.urls]
Homepage = "https://github.com/kson-org/kson"
Issues = "https://github.com/kson-org/kson/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "build_backend"
backend-path = ["."]
[tool.setuptools]
packages = ["kson"]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
kson = ["kson_api.h", "kson.dll", "libkson.dylib", "libkson.so", "jni_simplified.h"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.cibuildwheel]
# One wheel targeting 3.11 is sufficient: the abi3 stable ABI tag (see setup.py)
# makes it installable on any CPython >= 3.11.
build = "cp311-*"
skip = "*-musllinux_*"
archs = "native"
test-requires = "pytest"
test-command = "pytest -v {project}/tests --ignore={project}/tests/test_build_backend.py"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux_2_34"
manylinux-aarch64-image = "manylinux_2_34"
[tool.pyright]
include = ["src", "build_backend.py", "tests"]
[dependency-groups]
dev = [
"pyright>=1.1.403",
"pytest>=8.4.1",
"pytest-codeblocks>=0.17.0",
"ruff>=0.12.8",
"setuptools>=61.0",
"cibuildwheel>=3.4.1",
"twine>=6.2.0",
"pytest-cov>=7.0.0",
]