]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common: add entry point for smb ctl to pyproject.toml
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 15 Apr 2026 19:00:45 +0000 (15:00 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jun 2026 14:43:33 +0000 (10:43 -0400)
Allow invoking the ceph.smb.ctl as a script `ceph-smb-ctl`.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/pyproject.toml

index a116a62a82d03c7742c17d0517d7ce7b422b497a..f55defcf2d2929ecb8572507d3b058a1ea61400c 100644 (file)
@@ -19,6 +19,9 @@ email = "dev@ceph.io"
 Homepage = "https://ceph.io"
 Repository = "https://github.com/ceph/ceph"
 
+[project.scripts]
+ceph-smb-ctl = "ceph.smb.ctl.__main__:main"
+
 [build-system]
 requires = ["setuptools >= 61.0"]
 build-backend = "setuptools.build_meta"