diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6f63db0..16feb65 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,7 @@ [bumpversion] current_version = 5.1.0-rc3 parse = (?P\d+)\.(?P\d+)\.(?P\d+)(-rc(?P\d+))? -serialize = +serialize = {major}.{minor}.{patch}-rc{release} {major}.{minor}.{patch} commit = True @@ -11,10 +11,6 @@ message = chore(version): bump {current_version} to {new_version} search = __version__ = "{current_version}" replace = __version__ = "{new_version}" -[bumpversion:file:pyproject.toml] -search = version = "{current_version}" -replace = version = "{new_version}" - [bumpversion:file:CITATION.cff] search = version: v{current_version} replace = version: v{new_version} diff --git a/pyproject.toml b/pyproject.toml index 17f23b1..c209931 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,9 +35,11 @@ dependencies = [ "tqdm>=4.64.1", ] description = "Tool for live presentations using manim" -dynamic = ["license", "readme"] +dynamic = ["version"] keywords = ["manim", "slides", "plugin", "manimgl"] +license = {text = "MIT"} name = "manim-slides" +readme = "README.md" requires-python = ">=3.8,<3.12" version = "5.1.0-rc3" @@ -102,6 +104,10 @@ test = [ "pytest-xdist>=3.3.1", ] +[tool.pdm.version] +path = "manim_slides/__version__.py" +source = "file" + [tool.pytest.ini_options] env = [ "QT_QPA_PLATFORM=offscreen",