|
| 1 | +# Prepare a release: |
| 2 | +# |
| 3 | +# - git pull --rebase |
| 4 | +# - update version in pyperf/__init__.py and doc/conf.py |
| 5 | +# - set release date in doc/changelog.rst |
| 6 | +# - git commit -a -m "prepare release x.y" |
| 7 | +# - Remove untracked files/dirs: git clean -fdx |
| 8 | +# - run tests: tox --parallel auto |
| 9 | +# - git push or send the PR to the repository |
| 10 | +# - check Github Action CI: https://github.com/psf/pyperf/actions/workflows/build.yml |
| 11 | +# |
| 12 | +# Release a new version: |
| 13 | +# |
| 14 | +# - go to the GitHub release tab: https://github.com/psf/pyperf/releases |
| 15 | +# - click "Draft a new release" and fill the contents |
| 16 | +# - finally click the "Publish release" button! Done! |
| 17 | +# - monitor the publish status: https://github.com/psf/pyperf/actions/workflows/publish.yml |
| 18 | +# |
| 19 | +# After the release: |
| 20 | +# |
| 21 | +# - set version to n+1 |
| 22 | +# - git commit -a -m "post-release" |
| 23 | +# - git push or send the PR to the repository |
| 24 | + |
| 25 | +[build-system] |
| 26 | +requires = ["setuptools >= 61"] |
| 27 | +build-backend = "setuptools.build_meta" |
| 28 | + |
| 29 | +[project] |
| 30 | +name = "pyperf" |
| 31 | +dynamic = ["version"] |
| 32 | +license = {text = "MIT"} |
| 33 | +description = "Python module to run and analyze benchmarks" |
| 34 | +readme = "README.rst" |
| 35 | +urls = {Homepage = "https://github.com/psf/pyperf"} |
| 36 | +authors= [{ name= "Victor Stinner", email= "[email protected]"}] |
| 37 | +maintainers = [{ name = "Dong-hee Na", email= "[email protected]"}] |
| 38 | +classifiers = [ |
| 39 | + "Development Status :: 5 - Production/Stable", |
| 40 | + "Intended Audience :: Developers", |
| 41 | + "License :: OSI Approved :: MIT License", |
| 42 | + "Natural Language :: English", |
| 43 | + "Operating System :: OS Independent", |
| 44 | + "Programming Language :: Python :: 3", |
| 45 | + "Topic :: Software Development :: Libraries :: Python Modules" |
| 46 | +] |
| 47 | +requires-python = ">=3.7" |
| 48 | +dependencies = ["psutil>=5.9.0"] |
| 49 | + |
| 50 | +[project.optional-dependencies] |
| 51 | +dev = [ |
| 52 | + 'tox', |
| 53 | + 'importlib-metadata; python_version < "3.8"' |
| 54 | +] |
| 55 | + |
| 56 | +[project.scripts] |
| 57 | +pyperf = "pyperf.__main__:main" |
| 58 | + |
| 59 | +[tool.setuptools] |
| 60 | +packages = ["pyperf", "pyperf.tests"] |
| 61 | + |
| 62 | +[tool.setuptools.dynamic] |
| 63 | +version = {attr = "pyperf.__version__"} |
0 commit comments