-
Notifications
You must be signed in to change notification settings - Fork 79
/
pyproject.toml
168 lines (145 loc) · 4.17 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
[build-system]
requires = [
"setuptools >= 40.8.0",
"wheel >= 0.29.0",
]
build-backend = 'setuptools.build_meta'
[project]
name = "pulp-deb"
version = "3.5.0.dev"
description = "pulp-deb plugin for the Pulp Project"
readme = "README.md"
authors = [
{name="Matthias Dellweg", email="[email protected]"},
]
classifiers=[
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9"
dependencies = [
# All things django and asyncio are deliberately left to pulpcore
# Example transitive requirements: asgiref, asyncio, aiohttp
"pulpcore>=3.49.0,<3.70",
"python-debian>=0.1.44,<0.2.0",
"python-gnupg>=0.5,<0.6",
"jsonschema>=4.6,<5.0",
]
[project.urls]
Homepage = "https://pulpproject.org"
Documentation = "https://pulpproject.org/pulp_deb/"
Repository = "https://github.com/pulp/pulp_deb"
"Bug Tracker" = "https://github.com/pulp/pulp_deb/issues"
Changelog = "https://pulpproject.org/pulp_deb/changes/"
[project.entry-points."pulpcore.plugin"]
pulp_deb = "pulp_deb:default_app_config"
[tool.setuptools.packages.find]
where = ["."]
[tool.towncrier]
package = "pulp_deb"
filename = "CHANGES.md"
directory = "CHANGES/"
title_format = "## {version} ({project_date}) {{: #{version} }}"
template = "CHANGES/.TEMPLATE.md"
issue_format = "[#{issue}](https://github.com/pulp/pulp_deb/issues/{issue})"
start_string = "[//]: # (towncrier release notes start)\n"
underlines = ["", "", ""]
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Misc"
showcontent = true
[tool.check-manifest]
ignore = [
"CHANGES/**",
"dev_requirements.txt",
"doc_requirements.txt",
"docs/**",
"template_config.yml",
".pep8speaks.yml",
".ci/**",
".github/**",
"lint_requirements.txt",
".flake8",
]
[tool.black]
line-length = 100
target-version = ["py36", "py37"]
exclude = '''
/(
\.eggs
| \.git
| \.venv
| _build
| build
| dist
| migrations
| docs
)/
'''
[tool.bumpversion]
# This section is managed by the plugin template. Do not edit manually.
current_version = "3.5.0.dev"
commit = false
tag = false
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
serialize = [
"{major}.{minor}.{patch}.{release}",
"{major}.{minor}.{patch}",
"{major}.{minor}.{alpha}{patch}.{release}",
"{major}.{minor}.{alpha}{patch}",
]
[tool.bumpversion.parts.alpha]
# This section is managed by the plugin template. Do not edit manually.
# This is sort of a hack. In PEP440 prerelease markers work quite differently.
# But this fits best with the way we have been doing release versions.
optional_value = "final"
values = [
"0a",
"final",
]
independent = true
[tool.bumpversion.parts.release]
# This section is managed by the plugin template. Do not edit manually.
optional_value = "prod"
values = [
"dev",
"prod",
]
[[tool.bumpversion.files]]
# This section is managed by the plugin template. Do not edit manually.
filename = "./pulp_deb/app/__init__.py"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
# This section is managed by the plugin template. Do not edit manually.
filename = "./pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""