-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
130 lines (113 loc) · 3.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
[build-system]
requires = [
"setuptools >= 40.8.0",
"wheel >= 0.29.0",
]
build-backend = 'setuptools.build_meta'
[project]
name = "pulp-npm"
version = "0.1.0a5.dev"
description = "pulp-npm plugin for the Pulp Project"
readme = "README.md"
authors = [
{name="Pulp Team", email="[email protected]"},
]
classifiers=[
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
"Framework :: Django",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
requires-python = ">=3.6"
dependencies = [
"pulpcore>=3.28.15,<3.70",
]
[project.urls]
Homepage = "https://pulpproject.org"
Documentation = "https://pulpproject.org/pulp_npm/"
Repository = "https://github.com/pulp/pulp_npm"
"Bug Tracker" = "https://github.com/pulp/pulp_npm/issues"
Changelog = "https://pulpproject.org/pulp_npm/changes/"
[project.entry-points."pulpcore.plugin"]
pulp_npm = "pulp_npm:default_app_config"
[tool.setuptools.packages.find]
where = ["."]
[tool.towncrier]
package = "pulp_npm"
filename = "CHANGES.md"
directory = "CHANGES/"
title_format = "## {version} ({project_date}) {{: #{version} }}"
template = "CHANGES/.TEMPLATE.md"
issue_format = "[#{issue}](https://github.com/pulp/pulp_npm/issues/{issue})"
start_string = "[//]: # (towncrier release notes start)\n"
underlines = ["", "", ""]
[tool.check-manifest]
ignore = [
"CHANGES/**",
"dev_requirements.txt",
"doc_requirements.txt",
"docs/**",
"template_config.yml",
".github/**",
".pep8speaks.yml",
".ci/**",
"lint_requirements.txt",
".flake8",
]
[tool.black]
line-length = 100
target-version = ["py36", "py37", "py38"]
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 = "0.1.0a5.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_npm/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}\""