hatch-dynamic-versioning (#17)
- remove pkg_resources requirement to output project version - project version is not globally defined in pytest_abra/__init__.py - use hatch dynamic to get version in pyproject.toml Reviewed-on: local-it-infrastructure/e2e_tests#17 Co-authored-by: Daniel <d.brummerloh@gmail.com> Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
parent
2dd765a974
commit
8b9dd47f9e
3 changed files with 8 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
[project]
|
||||
name = "pytest-abra"
|
||||
description = "A pytest plugin to test instances of abra recipes"
|
||||
dynamic = ["version"]
|
||||
authors = [{name = "Local-IT e.V."}]
|
||||
readme = "README.md"
|
||||
version = "0.2.0"
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
|
|
@ -42,6 +42,9 @@ abratest = "pytest_abra.cli:run"
|
|||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "pytest_abra/__init__.py"
|
||||
|
||||
[tool.hatch.build]
|
||||
include = [
|
||||
"pytest_abra/*.py",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue