-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (105 loc) · 3.19 KB
/
pyproject.toml
File metadata and controls
124 lines (105 loc) · 3.19 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
# This is the pyproject.toml of plone.meta itself, *not* of generated projects.
[build-system]
requires = ["setuptools>=68.2,<83", "wheel"]
# We must set a build-backend, because the default build-backend needs a setup.py.
build-backend = "setuptools.build_meta"
[project]
name = "plone.meta"
version = "2.8.1.dev0"
description = "Applies a standard set of configuration files for Plone repositories"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">= 3.11"
authors = [
{ name = "Plone Foundation", email = "releaseteam@plone.org" },
{ name = "Gil Forcada Codinachs", email = "gil.gnome@gmail.com" },
]
keywords = ["plone", "packaging"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Natural Language :: English",
"Operating System :: OS Independent",
]
dependencies = [
"Jinja2",
"editorconfig",
"packaging",
"pyyaml",
"tomlkit",
"tox",
"validate-pyproject[all]",
"zest.releaser",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
[project.urls]
Homepage = "https://github.com/plone/meta"
"Issue Tracker" = "https://github.com/plone/meta/issues"
Changelog = "https://github.com/plone/meta/blob/2.x/CHANGES.md"
Documentation = "https://6.docs.plone.org/developer-guide/standardize-python-project-configuration.html"
[project.scripts]
config-package = "plone.meta.config_package:main"
multi-call = "plone.meta.multi_call:main"
re-enable-actions = "plone.meta.re_enable_actions:main"
switch-to-pep420 = "plone.meta.pep_420:main"
setup-to-pyproject = "plone.meta.setup_to_pyproject:main"
[tool.towncrier]
directory = "news/"
filename = "CHANGES.md"
start_string = "<!-- towncrier release notes start -->\n"
title_format = "## {version} ({project_date})"
template = "news/.changelog_template.jinja"
underlines = ["", "", ""]
issue_format = "[#{issue}](https://github.com/plone/meta/issues/{issue})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes:"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "New features:"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes:"
showcontent = true
[[tool.towncrier.type]]
directory = "internal"
name = "Internal:"
showcontent = true
[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation:"
showcontent = true
[[tool.towncrier.type]]
directory = "tests"
name = "Tests:"
showcontent = true
[tool.isort]
profile = "plone"
[tool.black]
target-version = ["py313"]
[tool.codespell]
ignore-words-list = "discreet,thet,"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.check-manifest]
ignore = [".editorconfig", ".flake8", ".pre-commit-config.yaml", "tests/**", "tox.ini"]
[tool.coverage.run]
omit = [
"src/plone/meta/re_enable_actions.py",
"src/plone/meta/pep_420.py",
"src/plone/meta/multi_call.py",
"src/plone/meta/setup_to_pyproject.py",
]