-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (66 loc) · 2.07 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "cheader2json"
authors = [
{name = "Ryan Mast", email = "[email protected]"},
{name = "Andy Fisher", email = "[email protected]"},
]
maintainers = [
{name = "Ryan Mast", email = "[email protected]"},
]
description = "Parse C header file and output JSON ast + types"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["libclang", "clang", "c", "header", "parser", "json", "conversion"]
license = {text = "BSD License"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Topic :: Software Development",
"Topic :: System",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"libclang==18.1.1",
"click"
]
dynamic = ["version"]
[project.optional-dependencies]
test = ["pytest"]
dev = ["build", "pre-commit"]
docs = ["sphinx", "myst-parser"]
[project.scripts]
cheader2json = "cheader2json.__main__:cli"
[project.urls]
Homepage = "https://github.com/GMLC-TDC/cheader2json"
"Issue Tracker" = "https://github.com/GMLC-TDC/cheader2json/issues"
"Source Code" = "https://github.com/GMLC-TDC/cheader2json"
[tool.setuptools.packages.find]
include = ["cheader2json", "cheader2json.*"]
[tool.setuptools_scm]
version_file = "cheader2json/_version.py"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
pythonpath = "."
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
# ruff defaults: E4, E7, E9, F
select = ["E", "F", "B", "W", "I"]
ignore = ["E501", "F401"]
# don't fix flake8-bugbear (`B`) violations
unfixable = ["B"]