Skip to content

Commit

Permalink
enable poetry dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Dec 16, 2024
1 parent ac0a6c1 commit 0acda0e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions libs/manubot_ai_editor/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""
Init file for manubot_ai_editor
"""

# note: version data is maintained by poetry-dynamic-versioning (do not edit)
__version__ = "0.0.0"
13 changes: 10 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[build-system]
build-backend = "poetry.core.masonry.api"
requires = [ "poetry-core>=1" ]
build-backend = "poetry_dynamic_versioning.backend"
requires = [ "poetry-core>=1", "poetry-dynamic-versioning>=1,<2" ]

[tool.poetry]
name = "manubot-ai-editor"
version = "0.5.2"
# note: version data is maintained by poetry-dynamic-versioning (do not edit)
version = "0.0.0"
description = "A Manubot plugin to revise a manuscript using GPT-3"
authors = [ "Milton Pividori <[email protected]>" ]
maintainers = [
Expand Down Expand Up @@ -33,5 +34,11 @@ pyyaml = "*"
[tool.poetry.group.dev.dependencies]
pytest = ">=8.3.3"

[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
vcs = "git"
substitution.files = [ "libs/manubot_ai_editor/__init__.py" ]

[tool.setuptools_scm]
root = "."

0 comments on commit 0acda0e

Please sign in to comment.