Skip to content

Commit

Permalink
Trying to set pypi version with versioningit
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiMacielPereira committed Mar 15, 2024
1 parent d83b264 commit 67dd498
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mvesuvio"
# dynamic = ["version"]
version = "0.0.1"
dynamic = ["version"]
authors = [
{name = "The Mantid Project", email = "[email protected]"},
{name = "Guilherme Pereira", email = "[email protected]"},
Expand Down Expand Up @@ -70,21 +69,18 @@ fail_under = 0
show_missing = true
skip_empty = true

# [tool.versioningit.vcs]
# method = "git"
# default-tag = "0.0.1"
# match = ["v*"]
#
# [tool.versioningit.next-version]
# method = "minor"
#
# [tool.versioningit.format]
# distance = "{version}.dev{distance}"
# dirty = "{version}+uncommitted"
# distance-dirty = "{version}.dev{distance}+uncommitted"
# # distance = "{version}"
# # dirty = "{version}"
# # distance-dirty = "{version}"
#
# [tool.versioningit.write]
# file = "mvesuvio/_version.py"
[tool.versioningit.vcs]
method = "git"
default-tag = "0.0.0"
match = ["v*"]

[tool.versioningit.next-version]
method = "minor"

[tool.versioningit.format]
distance = "{version}.dev{distance}"
dirty = "{version}+uncommitted"
distance-dirty = "{version}.dev{distance}+uncommitted"

[tool.versioningit.write]
file = "mvesuvio/_version.py"

0 comments on commit 67dd498

Please sign in to comment.