change versioning to dynamic versions with setuptools-scm
This commit is contained in:
parent
b837501881
commit
66faf9cf33
3 changed files with 27 additions and 4 deletions
|
|
@ -1,7 +1,30 @@
|
|||
[build-system]
|
||||
requires = ["setuptools >= 63.0.0", "wheel"]
|
||||
requires = ["setuptools >= 63.0.0", "wheel", "setuptools-scm"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "corrlib"
|
||||
dynamic = ["version"]
|
||||
dependencies = [
|
||||
"gitpython>=3.1.45",
|
||||
'pyerrors>=2.11.1',
|
||||
'datalad>=1.1.0',
|
||||
'typer>=0.12.5'
|
||||
]
|
||||
description = "Python correlation library"
|
||||
authors = [
|
||||
{ name = 'Justus Kuhlmann', email = 'j_kuhl19@uni-muenster.de'}
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
pcl = "corrlib.cli:app"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["corrlib", "corrlib.*"]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = { file = "corrlib/version.py" }
|
||||
|
||||
[tool.ruff.lint]
|
||||
ignore = ["F403"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue