fix: version

This commit is contained in:
egarette@silique.fr 2025-04-09 21:19:45 +02:00
parent 65ffaef2fe
commit 77490ca176
4 changed files with 12 additions and 1 deletions

View file

@ -9,6 +9,7 @@ authors = [{name = "Emmanuel Garette", email = "gnunux@gnunux.info"}]
readme = "README.md" readme = "README.md"
description = "A consistency handling system that was initially designed in the configuration management" description = "A consistency handling system that was initially designed in the configuration management"
requires-python = ">=3.8" requires-python = ">=3.8"
license = {file = "LICENSE"}
classifiers = [ classifiers = [
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python", "Programming Language :: Python",
@ -17,6 +18,8 @@ classifiers = [
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Natural Language :: English", "Natural Language :: English",
@ -40,11 +43,14 @@ dev = [
[project.urls] [project.urls]
Home = "https://forge.cloud.silique.fr/stove/rougail" Home = "https://forge.cloud.silique.fr/stove/rougail"
[tool.commitizen] [tool.commitizen]
name = "cz_conventional_commits" name = "cz_conventional_commits"
tag_format = "$version" tag_format = "$version"
version_scheme = "pep440" version_scheme = "pep440"
version_provider = "pep621" version_provider = "pep621"
version_files = [
"src/rougail/__version__.py",
"pyproject.toml:version"
]
update_changelog_on_bump = true update_changelog_on_bump = true
changelog_merge_prerelease = true changelog_merge_prerelease = true

View file

@ -33,6 +33,7 @@ from .config import RougailConfig
from .utils import normalize_family from .utils import normalize_family
from .object_model import CONVERT_OPTION from .object_model import CONVERT_OPTION
from .user_datas import UserDatas from .user_datas import UserDatas
from .__version__ import __version__
def tiramisu_display_name( def tiramisu_display_name(

View file

@ -0,0 +1 @@
__version__ = "1.2.0a17"

View file

@ -41,6 +41,9 @@ main_dictionaries:
{{% if 'directory' not in step.structural %}} {{% if 'directory' not in step.structural %}}
directory is not in step.structural directory is not in step.structural
{{% endif %}} {{% endif %}}
{{% if cli is defined and cli.versions is defined and cli.versions %}}
cli.versions is specified
{{% endif %}}
sort_dictionaries_all: sort_dictionaries_all:
description: {_("Sort dictionaries from differents directories")} description: {_("Sort dictionaries from differents directories")}