-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
179 lines (138 loc) · 3.84 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
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
[build-system]
requires = [
'setuptools',
'setuptools-scm[toml]>=6.2',
'wheel',
]
build-backend = 'setuptools.build_meta'
[project]
name = 'db2ixf'
authors = [
{ name = 'Ismail Hammounou', email = 'ismail.hammounou@gmail.com' },
]
maintainers = [
{ name = 'Ismail Hammounou', email = 'ismail.hammounou@gmail.com' },
]
description = 'Parsing and processing of IBM eXchange format (IXF)'
keywords = [
'PC', 'IXF', 'IBM', 'DB2', 'Development', 'Tools', 'Package', 'Parsing',
'Format', "Data", "Analysis"
]
license = { text = "AGPL-3.0" }
requires-python = '>=3.8'
dynamic = ['version', 'readme']
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
dependencies = [
'ebcdic',
'pyarrow',
'deltalake',
'chardet',
'typer[all]',
]
[project.optional-dependencies]
[project.scripts]
db2ixf = 'db2ixf.cli:app'
[project.urls]
Changelog = 'https://github.com/ismailhammounou/db2ixf/blob/main/CHANGELOG.md'
Documentation = 'https://ismailhammounou.github.io/db2ixf/'
Homepage = 'https://pypi.org/project/db2ixf/'
Repository = 'https://github.com/ismailhammounou/db2ixf.git'
[tool.setuptools]
zip-safe = false
[tool.setuptools.dynamic]
version = { attr = 'db2ixf._version.__version__' }
readme = { file = ['README.md'], content-type = 'text/markdown' }
[tool.setuptools.packages.find]
where = ['src']
include = ['db2ixf*']
exclude = ['tests*', 'db2ixf.tests*']
namespaces = true
[tool.setuptools_scm]
root = '.'
write_to = 'src/db2ixf/_version.py'
version_scheme = 'release-branch-semver'
[tool.disutils]
bdist_wheel.universal = true
[tool.pytest.ini_options]
# https://docs.pytest.org/en/7.1.x/reference/reference.html#ini-options-ref
minversion = '6.1'
# Where
testpaths = 'tests'
python_files = 'test_*.py'
python_classes = 'Test*'
python_functions = 'test_*'
# JUnit xml
junit_duration_report = 'total'
junit_family = 'xunit2'
junit_logging = 'no'
junit_log_passing_tests = 'True'
log_auto_indent = 'False'
# Global logging
log_level = 'INFO'
log_date_format = '%Y-%m-%d %H:%M:%S'
log_format = '%(asctime)s %(levelname)s %(message)s'
# Console logging
log_cli = 'True'
log_cli_level = 'INFO'
log_cli_date_format = '%Y-%m-%d %H:%M:%S'
log_cli_format = '%(asctime)s %(levelname)s %(message)s'
# File logging
# Console
# Markers
# Runtime
# Fixtures
# Other options to add in pytest cli command (use for plugins)
addopts = '--setup-show --strict-markers'
[tool.coverage.run]
branch = true
source = ['src']
sigterm = true
[tool.coverage.report]
skip_empty = true
sort = 'Cover'
[tool.coverage.html]
directory = 'target/report/coverage/html'
[tool.coverage.xml]
output = 'target/report/coverage/coverage.xml'
[tool.coverage.json]
output = 'target/report/coverage/coverage.json'
[tool.towncrier]
directory = 'resources/changelog'
filename = 'CHANGELOG.md'
start_string = '<!-- release notes start -->'
underlines = ['', '', '']
template = 'resources/templates/changelog.jinja'
title_format = '## [{version}](https://github.com/ismailhammounou/db2ixf/tree/{version}) - {project_date}'
issue_format = '[db2ixf-{issue}](https://github.com/ismailhammounou/db2ixf/issues/{issue})'
[[tool.towncrier.type]]
directory = 'added'
name = 'Added'
showcontent = true
[[tool.towncrier.type]]
directory = 'changed'
name = 'Changed'
showcontent = true
[[tool.towncrier.type]]
directory = 'deprecated'
name = 'Deprecated'
showcontent = true
[[tool.towncrier.type]]
directory = 'removed'
name = 'Removed'
showcontent = true
[[tool.towncrier.type]]
directory = 'fixed'
name = 'Fixed'
showcontent = true
[[tool.towncrier.type]]
directory = 'security'
name = 'Security'
showcontent = true