Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ Install package in editable mode and get the development requirements with:
poetry install --with dev --with doc
```

The package uses dynamic versioning.
The plugin can be added to your Poetry installation with:
```
poetry self add "poetry-dynamic-versioning[plugin]"
```

### Documentation

Documentation is built using Sphinx.
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry]
name = "twincat-tools"
version = "0.1.0"
version = "0.0.0" # Overwritten by dynamic versioning
description = "A set of tools for TwinCAT projects"
authors = ["Robert Roos <robert.soor@gmail.com>"]
readme = "README.md"
Expand Down Expand Up @@ -50,6 +50,9 @@ tc_xml_sort = "tctools.xml_sort.__main__:main_argv"
tc_git_info = "tctools.git_info.__main__:main_argv"
tc_make_release = "tctools.make_release.__main__:main_argv"

[tool.poetry-dynamic-versioning]
enable = true

# ----------- Other tools -----------

[tool.black]
Expand Down
3 changes: 3 additions & 0 deletions src/tctools/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
"""TcTools package."""

# Version placeholder - will be updated by poetry-dynamic-versioning":
__version__ = "0.0.0"