forked from python/pyperformance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (72 loc) · 2.27 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
# Update dependencies:
#
# - python3 -m pip install --user --upgrade pip-tools build
# - git clean -fdx # remove all untracked files!
# - (pip-compile --upgrade -o requirements.txt requirements.in)
#
# Prepare a release:
#
# - git pull --rebase
# - Remove untracked files/dirs: git clean -fdx
# - maybe update version in pyperformance/__init__.py and doc/conf.py
# - set release date in doc/changelog.rst
# - git commit -a -m "prepare release x.y"
# - run tests: tox --parallel auto
# - git push
# - check the CI status:
# https://github.com/python/pyperformance/actions
#
# Release a new version with GitHub (preferred):
#
# - go to the GitHub release tab: https://github.com/python/pyperformance/releases
# - click "Draft a new release" and fill the contents
# - finally click the "Publish release" button! Done!
# - monitor the publish status: https://github.com/python/pyperformance/actions/workflows/publish.yml
#
# Release a new version manually:
#
# - git tag VERSION
# - git push --tags
# - Remove untracked files/dirs: git clean -fdx
# - python -m build
# - twine upload dist/*
#
# After the release:
#
# - set version to n+1: pyperformance/__init__.py and doc/conf.py
# - git commit -a -m "post-release"
# - git push
[build-system]
requires = ["setuptools >= 61"]
build-backend = "setuptools.build_meta"
[project]
name = "pyperformance"
dynamic = ["version"]
license = {text = "MIT"}
description = "Python benchmark suite"
readme = "README.rst"
urls = {Homepage = "https://github.com/python/pyperformance"}
authors= [{name = "Collin Winter"}, {name= "Jeffrey Yasskin"}]
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',
'Programming Language :: Python',
]
requires-python = ">=3.7"
dependencies = ["pyperf", "toml", "packaging"]
[project.optional-dependencies]
dev = [
'tox',
]
[project.scripts]
pyperformance = "pyperformance.cli:main"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = {} # Scanning implicit namespaces is active by default
[tool.setuptools.dynamic]
version = {attr = "pyperformance.__version__"}