Skip to content

Commit

Permalink
updated to version 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoelles committed Dec 3, 2024
1 parent 1880161 commit 8caeb44
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.


Unreleased
0.10.0 - (2024-12-03)
-------------

Added
Expand Down
2 changes: 1 addition & 1 deletion pointcloudset/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .dataset import Dataset
from .pointcloud import PointCloud

__version__ = "0.9.0"
__version__ = "0.10.0"
25 changes: 17 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[build-system]
requires = ["flit_core>=3.2,<4"]
build-backend = "flit_core.buildapi"
requires = ["hatchling>=1.0"]
build-backend = "hatchling.build"

[project]
name = "pointcloudset"
version = "0.9.0"
description = "Analyze large datasets of point clouds recorded over time in an efficient way"
readme = "README.rst"
requires-python = ">=3.10, <3.12"
Expand Down Expand Up @@ -60,6 +59,7 @@ dev = [
"nbformat",
"matplotlib",
"hatch",
"hatchling",
]
doc = [
"sphinx",
Expand Down Expand Up @@ -106,8 +106,17 @@ exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.hatch.version]
path = "pointcloudset/__init__.py"

[tool.hatch.metadata.hooks.version-bump]
files = [
{ path = "pyproject.toml", search = 'version = "{current_version}"', replace = 'version = "{new_version}"' },
{ path = "CHANGELOG.rst", search = "Unreleased", replace = "Unreleased\n\t-------------\n\t\n\t{new_version} - ({now:%Y-%m-%d})" },
]
[[tool.hatch.version.files]]
path = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[[tool.hatch.version.files]]
path = "CHANGELOG.rst"
search = "Unreleased"
replace = """
Unreleased
-------------
{new_version} - ({now:%Y-%m-%d})
"""

0 comments on commit 8caeb44

Please sign in to comment.