]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: add a pyproject.toml file
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 13 Apr 2026 21:24:46 +0000 (17:24 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 6 May 2026 13:32:25 +0000 (09:32 -0400)
commitb5b32d3abac22bc2a705ab2ee84968627c635aa8
tree5ce4f369a08b275085c1001acbb2d161249a7bce
parent42ddb5eafd51e2a9f306322d836a3d2f7388f027
python-common: add a pyproject.toml file

In order to support the current python packaging standards we need
to have a pyproject.toml [1] file. This file defines the project's
metadata and build tool.

For continuity, I have left setuptools in place as the build backend
so the existing steup.py is still in play. I also experimented with
flit as a back-end. Flit seemed to work OK but I was a bit unsure
how distro support for it would be when we started to roll out this
option. Thus, to be safe I decided to stay with setuptools for now.

[1] https://packaging.python.org/en/latest/guides/writing-pyproject-toml/

See Also:
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://flit.pypa.io/en/stable/pyproject_toml.html

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/pyproject.toml [new file with mode: 0644]