forked from pdm-project/pdm-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
145 lines (122 loc) · 3.06 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
[project]
# PEP 621 project metadata
# https://www.python.org/dev/peps/pep-0621
name = "pdm-pep517"
description = "A PEP 517 backend for PDM that supports PEP 621 metadata"
authors = [
{name = "Frost Ming", email = "mianghong@gmail.com"}
]
license = {text = "MIT"}
requires-python = ">=3.7"
readme = "README.md"
keywords = ["packaging", "PEP 517", "build"]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = []
[project.urls]
homepage = "https://pdm.fming.dev"
repository = "https://github.com/frostming/pdm-pep517"
[tool.pdm]
version = {source = "file", path = "pdm/pep517/__init__.py"}
[tool.pdm.build]
includes = ["pdm"]
source-includes = ["tests"]
[tool.pdm.dev-dependencies]
test = [
"pytest",
"pytest-cov",
"towncrier",
"pytest-xdist",
"vendoring; python_version ~= '3.8'",
"parver~=0.3",
]
[tool.pdm.scripts]
build = "python scripts/build.py"
release = "python scripts/release.py"
[build-system]
requires = []
build-backend = "pdm.pep517.api"
backend-path = ["."]
[tool.black]
line-length = 88
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| build
| dist
| __pypackages__
| pdm/pep517/_vendor
)/
'''
[tool.vendoring]
destination = "pdm/pep517/_vendor/"
requirements = "pdm/pep517/_vendor/vendor.txt"
namespace = "pdm.pep517._vendor"
protected-files = ["__init__.py", "README.md", "vendor.txt"]
patches-dir = "scripts/patches"
[tool.vendoring.transformations]
substitute = []
drop = [
"bin/",
"*.so",
"typing.*",
"*/tests/",
"spdx/data/*.txt",
"cerberus/benchmarks/",
"**/test_*.py",
"**/*_test.py"
]
[tool.vendoring.typing-stubs]
[tool.vendoring.license.directories]
[tool.vendoring.license.fallback-urls]
[tool.towncrier]
package = "pdm"
filename = "CHANGELOG.md"
issue_format = "[#{issue}](https://github.com/frostming/pdm-pep517/issues/{issue})"
directory = "news/"
title_format = "## Release v{version} ({project_date})"
template = "news/towncrier_template.md"
underlines = "-~^"
[[tool.towncrier.type]]
directory = "feature"
name = "Features & Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "dep"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals and Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellany"
showcontent = true
[tool.pytest.ini_options]
norecursedirs = ["fixtures", "__pypackages__"]
markers = [
"deprecation: Test old features are deprecated",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::RuntimeWarning"
]