Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX ISSUE #175: Python is missing a version #176

Merged
merged 1 commit into from
Oct 8, 2024
Merged
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
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 = "[email protected]"},
]
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
Loading