Skip to content
Snippets Groups Projects
Commit 24a9f5af authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'fhennig/fix-versioneer' into 'master'

Remove vendored versioneer

See merge request pycodegen/lbmpy!168
parents d9139374 f4dd5396
Branches
1 merge request!168Remove vendored versioneer
Pipeline #65880 passed with stages
in 39 minutes and 28 seconds
lbmpy/_version.py export-subst
src/lbmpy/_version.py export-subst
......@@ -69,8 +69,7 @@ tests = [
[build-system]
requires = [
"setuptools>=69",
"versioneer>=0.29",
"tomli; python_version < '3.11'",
"versioneer[toml]>=0.29",
]
build-backend = "setuptools.build_meta"
......@@ -87,7 +86,7 @@ namespaces = false
# resulting files.
VCS = "git"
style = "pep440"
versionfile_source = "lbmpy/_version.py"
versionfile_source = "src/lbmpy/_version.py"
versionfile_build = "lbmpy/_version.py"
tag_prefix = "release/"
parentdir_prefix = "lbmpy-"
......@@ -55,7 +55,5 @@ __all__ = [
]
from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
This diff is collapsed.
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment