-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (121 loc) · 3.59 KB
/
pyproject.toml
File metadata and controls
140 lines (121 loc) · 3.59 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[tool.poetry]
name = "objutils"
version = "0.10.7"
description = "Objectfile library for Python"
authors = ["Christoph Schueler <cpu12.gems@googlemail.com>"]
license = "GPLv2"
readme = "docs/README.rst"
homepage = "https://github.com/christoph2/objutils"
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
keywords=[
"hex files",
"intel hex",
"s19",
"srec",
"srecords",
"object files",
"map files",
"embedded",
"microcontroller",
"ECU",
"shf",
"rfc4194",
]
build = "build_ext.py"
include = [
{ path = "objutils/*.so", format = "wheel" },
{ path = "objutils/*.pyd", format = "wheel" },
{ path = "CMakeLists.txt", format = "sdist" },
{ path = "objutils/extensions/*hpp", format = "sdist" },
{ path = "objutils/extensions/*cpp", format = "sdist" },
]
[tool.poetry.scripts]
oj-elf-info = "objutils.scripts.oj_elf_info:main"
oj-elf-syms = "objutils.scripts.oj_elf_syms:main"
oj-hex-info = "objutils.scripts.oj_hex_info:main"
oj-elf-arm-attrs = "objutils.scripts.oj_elf_arm_attrs:main"
oj-elf-extract = "objutils.scripts.oj_elf_extract:main"
oj-elf-import = "objutils.scripts.oj_elf_import:main"
oj-dwarf-import = "objutils.scripts.oj_dwarf_import:main"
oj-dwarf-info = "objutils.scripts.oj_dwarf_info:main"
oj-coff-info = "objutils.scripts.oj_coff_info:main"
oj-coff-syms = "objutils.scripts.oj_coff_syms:main"
oj-coff-extract = "objutils.scripts.oj_coff_extract:main"
oj-coff-import = "objutils.scripts.oj_coff_import:main"
arduino-build-artifacts = "objutils.scripts.arduino_build_artifacts:main"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
construct = "^2.10.70"
mako = "^1.3.3"
sqlalchemy = "^2.0.29"
rich = "^14.2"
numpy = ">=2.2.5"
[tool.poetry.group.dev.dependencies]
bumpver = "^2023.1129"
pre-commit = "^3.7.0"
pytest = ">=8.1.1,<10.0.0"
black = ">=24.10,<27.0"
ruff = "^0.6.9"
pyupgrade = "^3.17.0"
bandit = "^1.7.10"
[build-system]
requires = ["poetry-core>=1.6.0", "wheel", "cmake>=3.12", "pybind11[global]>=2.12.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--verbose --tb=short --junitxml=result.xml -o junit_family=xunit2"
testpaths = "objutils/tests"
[tool.mypy]
strict = false
warn_unreachable = true
pretty = true
show_column_numbers = true
show_error_context = true
[tool.ruff]
line-length = 132
[tool.ruff.lint]
ignore = ["I001"]
unfixable = ["B"]
[tool.black]
line-length=132
include = '\.pyi?$'
[tool.cibuildwheel]
build-verbosity = 3
build = "cp3{10,11,12,13,14}-*"
skip = ["*_i686", "*-musllinux*"]
build-frontend = "build"
[tool.bumpver]
current_version = "0.10.7"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{version}"',
]
"objutils/__init__.py" = [
'__version__ = "{version}"',
]
"objutils/version.py" = [
'__version__ = "{version}"',
]