-
Notifications
You must be signed in to change notification settings - Fork 79
/
pyproject.toml
73 lines (64 loc) · 2.1 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
# Prepare a release:
#
# - git pull --rebase
# - update version in pyperf/__init__.py and doc/conf.py
# - set release date in doc/changelog.rst
# - git commit -a -m "prepare release x.y"
# - Remove untracked files/dirs: git clean -fdx
# - run tests: tox --parallel auto
# - git push or send the PR to the repository
# - check Github Action CI: https://github.com/psf/pyperf/actions/workflows/build.yml
#
# Release a new version:
#
# - go to the GitHub release tab: https://github.com/psf/pyperf/releases
# - click "Draft a new release" and fill the contents
# - finally click the "Publish release" button! Done!
# - monitor the publish status: https://github.com/psf/pyperf/actions/workflows/publish.yml
#
# After the release:
#
# - set version to n+1
# - git commit -a -m "post-release"
# - git push or send the PR to the repository
[build-system]
requires = ["setuptools >= 61"]
build-backend = "setuptools.build_meta"
[project]
name = "pyperf"
dynamic = ["version"]
license = {text = "MIT"}
description = "Python module to run and analyze benchmarks"
readme = "README.rst"
urls = {Homepage = "https://github.com/psf/pyperf"}
authors= [{name = "Victor Stinner", email = "[email protected]"}]
maintainers = [{name = "Dong-hee Na", email = "[email protected]"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules"
]
requires-python = ">=3.9"
dependencies = ["psutil>=5.9.0"]
[project.optional-dependencies]
dev = [
'tox',
]
[project.scripts]
pyperf = "pyperf.__main__:main"
[project.entry-points."pyperf.hook"]
pystats = "pyperf._hooks:pystats"
_test_hook = "pyperf._hooks:_test_hook"
[tool.setuptools]
packages = ["pyperf", "pyperf.tests"]
[tool.setuptools.dynamic]
version = {attr = "pyperf.__version__"}
[tool.ruff.lint]
extend-select = ["C90", "UP"]
extend-ignore = ["UP015", "UP031"]
[tool.ruff.lint.mccabe]
max-complexity = 31