-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
pyproject.toml
71 lines (61 loc) · 1.66 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
[build-system]
requires = ["setuptools>=56.2", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[project]
name = "ctypeslib2"
authors = [{name = "Loic Jaquemet", email = "[email protected]"}]
license = {text = "License :: OSI Approved :: MIT License"}
description = "ctypeslib2 - FFI toolkit, relies on clang"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["clang>=11"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/trolldbois/ctypeslib"
Download = "https://github.com/trolldbois/ctypeslib/releases"
[project.scripts]
clang2py = "ctypeslib.clang2py:main"
[tool.setuptools]
packages = ["ctypeslib", "ctypeslib.codegen"]
include-package-data = false
[tool.setuptools.package-data]
ctypeslib = [
"data/fundamental_type_name.tpl",
"data/headers.tpl",
"data/pointer_type.tpl",
"data/string_cast.tpl",
"data/structure_type.tpl",
]
[tool.setuptools_scm]
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.pylint]
max-line-length = 120
[tool.coverage.run]
relative_files = true