|
| 1 | +# Update dependencies: |
| 2 | +# |
| 3 | +# - python3 -m pip install --user --upgrade pip-tools build |
| 4 | +# - git clean -fdx # remove all untracked files! |
| 5 | +# - (pip-compile --upgrade -o requirements.txt requirements.in) |
| 6 | +# |
| 7 | +# Prepare a release: |
| 8 | +# |
| 9 | +# - git pull --rebase |
| 10 | +# - Remove untracked files/dirs: git clean -fdx |
| 11 | +# - maybe update version in pyperformance/__init__.py and doc/conf.py |
| 12 | +# - set release date in doc/changelog.rst |
| 13 | +# - git commit -a -m "prepare release x.y" |
| 14 | +# - run tests: tox --parallel auto |
| 15 | +# - git push |
| 16 | +# - check the CI status: |
| 17 | +# https://github.com/python/pyperformance/actions |
| 18 | +# |
| 19 | +# Release a new version: |
| 20 | +# |
| 21 | +# - git tag VERSION |
| 22 | +# - git push --tags |
| 23 | +# - Remove untracked files/dirs: git clean -fdx |
| 24 | +# - python -m build |
| 25 | +# - twine upload dist/* |
| 26 | +# |
| 27 | +# After the release: |
| 28 | +# |
| 29 | +# - set version to n+1: pyperformance/__init__.py and doc/conf.py |
| 30 | +# - git commit -a -m "post-release" |
| 31 | +# - git push |
| 32 | + |
| 33 | +[build-system] |
| 34 | +requires = ["setuptools >= 61"] |
| 35 | +build-backend = "setuptools.build_meta" |
| 36 | + |
| 37 | +[project] |
| 38 | +name = "pyperformance" |
| 39 | +dynamic = ["version"] |
| 40 | +license = {text = "MIT"} |
| 41 | +description = "Python benchmark suite" |
| 42 | +readme = "README.rst" |
| 43 | +urls = {Homepage = "https://github.com/python/pyperformance"} |
| 44 | +authors= [{name = "Collin Winter"}, {name= "Jeffrey Yasskin"}] |
| 45 | +classifiers = [ |
| 46 | + 'Development Status :: 5 - Production/Stable', |
| 47 | + 'Intended Audience :: Developers', |
| 48 | + 'License :: OSI Approved :: MIT License', |
| 49 | + 'Natural Language :: English', |
| 50 | + 'Operating System :: OS Independent', |
| 51 | + 'Programming Language :: Python :: 3', |
| 52 | + 'Programming Language :: Python', |
| 53 | +] |
| 54 | +requires-python = ">=3.7" |
| 55 | +dependencies = ["pyperf", "toml", "packaging"] |
| 56 | + |
| 57 | +[project.optional-dependencies] |
| 58 | +dev = [ |
| 59 | + 'tox', |
| 60 | +] |
| 61 | + |
| 62 | +[project.scripts] |
| 63 | +pyperformance = "pyperformance.cli:main" |
| 64 | + |
| 65 | +[tool.setuptools] |
| 66 | +include-package-data = true |
| 67 | + |
| 68 | +[tool.setuptools.packages] |
| 69 | +find = {} # Scanning implicit namespaces is active by default |
| 70 | + |
| 71 | +[tool.setuptools.dynamic] |
| 72 | +version = {attr = "pyperformance.__version__"} |
0 commit comments