diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-03-07 23:04:29 +0100 |
|---|---|---|
| committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-03-08 14:25:09 +0100 |
| commit | 3ab851644501e4906e91084a81e33e1a3cebd5cc (patch) | |
| tree | 3c9132d16ac137ed34fd0daefe1fb18b8c15f814 /doc | |
| parent | 6cbcfb039e608419bd6ced673723918aca6fb278 (diff) | |
| download | rumba-0.23.0.tar.gz rumba-0.23.0.zip | |
build: Move to pyproject + setuptools_scm0.23.0
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 <dimitri@ouroboros.rocks>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/conf.py | 7 |
1 files changed, 2 insertions, 5 deletions
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 |
