Skip to content

Commit fa72cf3

Browse files
ofekionelmc
authored andcommitted
Update package metadata
1 parent c7edd1b commit fa72cf3

File tree

4 files changed

+81
-6
lines changed

4 files changed

+81
-6
lines changed

.bumpversion.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ current_version = 6.3.0
33
commit = True
44
tag = True
55

6-
[bumpversion:file:setup.py]
7-
search = version='{current_version}'
8-
replace = version='{new_version}'
6+
[bumpversion:file:pyproject.toml]
7+
search = version = "{current_version}"
8+
replace = version = "{new_version}"
99

1010
[bumpversion:file (badge):README.rst]
1111
search = /v{current_version}.svg

docs/releasing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The process for releasing should follow these steps:
2323
These files need to be removed to force distutils/setuptools to rebuild everything and recreate the egg-info metadata.
2424
#. Build the dists::
2525

26-
python3 setup.py clean --all sdist bdist_wheel
26+
python -m build
2727

2828
#. Verify that the resulting archives (found in ``dist/``) are good.
2929
#. Upload the sdist and wheel with twine::

pyproject.toml

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,79 @@
11
[build-system]
2-
requires = [
3-
"setuptools>=30.3.0",
2+
requires = ["hatchling", "hatch-fancy-pypi-readme"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "pytest-cov"
7+
dynamic = ["readme"]
8+
version = "6.3.0"
9+
description = "Pytest plugin for measuring coverage."
10+
license = "MIT"
11+
requires-python = ">=3.9"
12+
authors = [
13+
{ name = "Marc Schlaich", email = "marc.schlaich@gmail.com" },
14+
]
15+
maintainers = [
16+
{ name = "Ionel Cristian Mărieș", email = "contact@ionelmc.ro" },
17+
]
18+
keywords = [
19+
"cover",
20+
"coverage",
21+
"distributed",
22+
"parallel",
23+
"py.test",
24+
"pytest",
25+
]
26+
classifiers = [
27+
"Development Status :: 5 - Production/Stable",
28+
"Framework :: Pytest",
29+
"Intended Audience :: Developers",
30+
"License :: OSI Approved :: MIT License",
31+
"Operating System :: Microsoft :: Windows",
32+
"Operating System :: POSIX",
33+
"Operating System :: Unix",
34+
"Programming Language :: Python",
35+
"Programming Language :: Python :: 3",
36+
"Programming Language :: Python :: 3 :: Only",
37+
"Programming Language :: Python :: 3.9",
38+
"Programming Language :: Python :: 3.10",
39+
"Programming Language :: Python :: 3.11",
40+
"Programming Language :: Python :: 3.12",
41+
"Programming Language :: Python :: 3.13",
42+
"Programming Language :: Python :: Implementation :: CPython",
43+
"Programming Language :: Python :: Implementation :: PyPy",
44+
"Topic :: Software Development :: Testing",
45+
"Topic :: Utilities",
46+
]
47+
dependencies = [
48+
"coverage[toml]>=7.10.6",
49+
"pytest>=7",
50+
"pluggy>=1.2",
51+
]
52+
53+
[project.optional-dependencies]
54+
testing = [
55+
"fields",
56+
"hunter",
57+
"process-tests",
58+
"pytest-xdist",
59+
"six",
60+
"virtualenv",
61+
]
62+
63+
[project.entry-points.pytest11]
64+
pytest_cov = "pytest_cov.plugin"
65+
66+
[project.urls]
67+
Changelog = "https://pytest-cov.readthedocs.io/en/latest/changelog.html"
68+
Documentation = "https://pytest-cov.readthedocs.io/"
69+
Homepage = "https://github.com/pytest-dev/pytest-cov"
70+
"Issue Tracker" = "https://github.com/pytest-dev/pytest-cov/issues"
71+
72+
[tool.hatch.metadata.hooks.fancy-pypi-readme]
73+
content-type = "text/x-rst"
74+
fragments = [
75+
{ path = "README.rst" },
76+
{ path = "CHANGELOG.rst" },
477
]
578

679
[tool.ruff]
@@ -50,3 +123,4 @@ force-single-line = true
50123

51124
[tool.ruff.format]
52125
quote-style = "single"
126+

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ passenv =
1010

1111
; a generative tox configuration, see: https://tox.wiki/en/latest/user_guide.html#generative-environments
1212
[tox]
13+
isolated_build = true
1314
envlist =
1415
clean,
1516
check,

0 commit comments

Comments
 (0)