FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-semver/pyproject.toml at master · python-semver/python-semver · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-semver
/
python-semver
Public
Notifications
You must be signed in to change notification settings
Fork
101
Star
523
Code
Issues
11
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-semver
/
pyproject.toml
Copy path
More file actions
More file actions
Latest commit
History
History
History
185 lines (151 loc) · 4.22 KB
Breadcrumbs
python-semver
/
pyproject.toml
Copy path
File metadata and controls
185 lines (151 loc) · 4.22 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
180
181
182
183
184
185
#
#
#
See also https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
#
#
General idea taken from
#
https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
[
build-system
]
requires
= [
"
setuptools>=61
"
,
#
"setuptools-scm>=8",
]
build-backend
=
"
setuptools.build_meta
"
[
project
]
requires-python
=
"
>=3.10
"
name
=
"
semver
"
description
=
"
Python helper for Semantic Versioning (https://semver.org)
"
readme
=
"
README.rst
"
#
PEP 639
#
licence = "BSD-2-Clause"
#
readme.content-type = "text/x-rst"
license
= {
file
=
"
LICENSE.txt
"
}
authors
= [
{
name
=
"
Kostiantyn Rybnikov
"
,
email
=
"
k-bx@k-bx.com
"
},
{
name
=
"
Tom Schraitle
"
,
email
=
"
toms@suse.de
"
},
]
maintainers
= [
{
name
=
"
Tom Schraitle
"
,
email
=
"
toms@suse.de
"
},
{
name
=
"
Sebastien Celles
"
,
email
=
"
s.celles@gmail.com
"
},
]
dynamic
= [
"
version
"
,]
classifiers
= [
"
Environment :: Web Environment
"
,
"
Intended Audience :: Developers
"
,
"
Development Status :: 5 - Production/Stable
"
,
"
License :: OSI Approved :: BSD License
"
,
"
Operating System :: OS Independent
"
,
"
Programming Language :: Python :: 3
"
,
"
Programming Language :: Python :: 3.10
"
,
"
Programming Language :: Python :: 3.11
"
,
"
Programming Language :: Python :: 3.12
"
,
"
Programming Language :: Python :: 3.13
"
,
"
Programming Language :: Python :: 3.14
"
,
"
Topic :: Software Development :: Libraries :: Python Modules
"
,
]
[
project
.
urls
]
"GitHub Homepage"
=
"
https://github.com/python-semver/python-semver
"
Changelog
=
"
https://python-semver.readthedocs.io/en/latest/changelog.html
"
Documentation
=
"
https://python-semver.rtfd.io
"
Releases
=
"
https://github.com/python-semver/python-semver/releases
"
"Bug Tracker"
=
"
https://github.com/python-semver/python-semver/issues
"
[
project
.
scripts
]
pysemver
=
"
semver.cli:main
"
[
dependency-groups
]
#
See https://github.com/astral-sh/uv/issues/5632
#
See https://peps.python.org/pep-0735/
typing
= [
"
mypy<=2.1.0
"
,
"
pyright<=1.2
"
,
]
formatting
= [
"
ruff<=0.16
"
,
]
test
= [
"
tox<=4.56.1
"
,
"
pytest<=9.1.1
"
,
"
pytest-cov<=7.1.0
"
,
]
publish
= [
"
twine<=6.2.0
"
,
#
pyproject-build is required for building the package
"
build<=1.5.0
"
,
]
changelog
= [
"
towncrier==25.8.0
"
,
]
docs
= [
#
Required in .readthedocs.yaml
"
sphinx<=8.1.3
"
,
"
sphinx-argparse<=0.5.2
"
,
"
sphinx-autodoc-typehints==3.0.1
"
,
]
devel
= [
{
include-group
=
"
typing
"
},
{
include-group
=
"
formatting
"
},
{
include-group
=
"
test
"
},
{
include-group
=
"
changelog
"
},
{
include-group
=
"
docs
"
},
{
include-group
=
"
publish
"
},
]
#
Only needed when using GitHub Actions
gh-action
= [
{
include-group
=
"
devel
"
},
"
tox-gh-actions
"
,
]
#
--- Setuptools configuration ---
[
tool
.
setuptools
]
package-dir
= {
""
=
"
src
"
}
package-data
= {
"semver"
= [
"
py.typed
"
] }
include-package-data
=
true
[
tool
.
setuptools
.
packages
.
find
]
#
Is that still necessary?
#
list of folders that contain the packages (["."] by default)
where
= [
"
src
"
]
[
tool
.
setuptools
.
dynamic
]
version
= {
attr
=
"
semver.__about__.__version__
"
}
#
---------------------------------
[
tool
.
setuptools_scm
]
version_scheme
=
"
post-release
"
local_scheme
=
"
dirty-tag
"
[
tool
.
mypy
]
#
ignore_missing_imports = true
check_untyped_defs
=
true
show_error_codes
=
true
#
strict = true
pretty
=
true
[
tool
.
black
]
line-length
=
88
target-version
= [
'
py37
'
,
'
py38
'
,
'
py39
'
,
'
py310
'
,
'
py311
'
]
#
diff = true
[
tool
.
docformatter
]
wrap-summaries
=
80
close-quotes-on-newline
=
true
#
make-summary-multi-line = true
black
=
true
pre-summary-newline
=
true
recursive
=
true
[
tool
.
towncrier
]
package
=
"
semver
"
package_dir
=
"
src
"
filename
=
"
CHANGELOG.rst
"
directory
=
"
changelog.d/
"
title_format
=
"
Version {version}
"
template
=
"
changelog.d/_template.rst
"
#
issue_format = "`#{issue} <https://github.com/python-attrs/attrs/issues/{issue}>`_"
#
issue_format = ":gh:`{issue}`"
[
tool
.
towncrier
.
fragment
.
breaking
]
name
=
"
Breaking Changes
"
[
tool
.
towncrier
.
fragment
.
bugfix
]
name
=
"
Bug Fixes
"
[
tool
.
towncrier
.
fragment
.
deprecation
]
name
=
"
Deprecations
"
[
tool
.
towncrier
.
fragment
.
doc
]
name
=
"
Improved Documentation
"
[
tool
.
towncrier
.
fragment
.
feature
]
name
=
"
Features
"
[
tool
.
towncrier
.
fragment
.
removal
]
name
=
"
Removals
"
[
tool
.
towncrier
.
fragment
.
trivial
]
name
=
"
Trivial Changes
"
[
tool
.
towncrier
.
fragment
.
internal
]
name
=
"
Internal Changes
"
Back
|
FazBrowse Home
|
New Git URL