From 3ab851644501e4906e91084a81e33e1a3cebd5cc Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 7 Mar 2026 23:04:29 +0100 Subject: build: Move to pyproject + setuptools_scm Replace setup.py and MANIFEST.in with pyproject.toml. The version is now derived from git tags via setuptools_scm, and added .git_archival.txt and .gitattributes for git archive support. Remove _version.py from version control as it is now auto-generated at build time. Signed-off-by: Dimitri Staessens --- doc/conf.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/conf.py b/doc/conf.py index 55e3572..7ea5303 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -20,10 +20,7 @@ autoclass_content = 'both' html_static_path = ['_static'] templates_path = ['_templates'] -_locals = {} -with open('../rumba/_version.py') as fp: - exec(fp.read(), None, _locals) -version = _locals['__version__'] +from rumba import __version__ +version = __version__ -version = version release = version -- cgit v1.2.3