This Python package is an attempt to make it a little easier to
patch pyproject.toml in place.
It is mainly useful for maintainers of system packages.
If you’re not a maintainer of system packages, or if you don’t know
what that means, then pyproject-patcher is probably not for you.
-
Hard code a version number into
project.version -
Disable all invocations of the dynamic version generator
setuptools-git-versioning -
Remove dependency to
setuptools-git-versioningfrombuild-system.requires -
Configure
setuptools-git-versioningto use a version template without a.dirtysuffix
To install pyproject-patcher from PyPI, open a shell and run:
pip install pyproject-patcherIf that doesn’t work, try:
python3 -m pip install pyproject-patcherDirect your favorite
AUR helper to the
python-pyproject-patcher package.
See USAGE.md
for details.
See CONTRIBUTING.md.
Copyright (c) 2024 Claudia Pellegrino
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. For a copy of the License, see LICENSE.