Skip to content

Commit

Permalink
FIX ISSUE #175: (#176)
Browse files Browse the repository at this point in the history
* Readd "version = ..." parameter (manual bump-version mechanism)
* DISABLE: setuptools-scm mechanism (until all Python projects use it)
  • Loading branch information
jenisys authored Oct 8, 2024
1 parent 3365ef1 commit 547199b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# =============================================================================
# SEE ALSO:
# * https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
# * https://setuptools-scm.readthedocs.io/en/latest/usage/
# * https://pypi.org/classifiers/
#
# PREPARED:
# * https://setuptools-scm.readthedocs.io/en/latest/usage/
# =============================================================================
# PYTHON3: requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]

Expand All @@ -19,7 +21,8 @@ authors = [
{name = "Jens Engel", email = "jenisys@noreply.github.com"},
]
description = "Provides a tag-expression parser and evaluation logic for cucumber/behave"
dynamic = ["version"]
version = "6.1.0"
# PREPARED: dynamic = ["version"]
keywords= ["BDD", "testing", "cucumber", "tag-expressions", "behave"]
license = {text = "MIT"}
readme = "README.rst"
Expand Down Expand Up @@ -103,22 +106,18 @@ universal = true
platforms = ["any"]
zip-safe = true

# -- DISABLED:
# [tool.setuptools.dynamic]
# version = {attr = "cucumber_tag_expressions._version.version"}

[tool.setuptools.packages.find]
where = ["."]
include = ["cucumber_tag_expressions*"]
exclude = ["tests*"]
namespaces = false

# -- SETUPTOOLS-SCM: Generate version info from git-tag(s).
# -- PREPARED: SETUPTOOLS-SCM: Generate version info from git-tag(s).
# GIT-TAG MATCHER: Only use git-tags that start with "v", like: "v6.1.0"
[tool.setuptools_scm]
git_describe_command = "git describe --match 'v[0-9]*'"
root = ".."
version_file = "cucumber_tag_expressions/_version.py"
# [tool.setuptools_scm]
# git_describe_command = "git describe --match 'v[0-9]*'"
# root = ".."
# version_file = "cucumber_tag_expressions/_version.py"


# =============================================================================
Expand Down

0 comments on commit 547199b

Please sign in to comment.