-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 1.01 KB
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tool.poetry]
name = "hubbard"
version = "0.1.0"
license = "LGPL-3.0"
description = "A hubbard model solver toolkit with a lot of method."
readme = "README.md"
repository = "https://github.com/floatingCatty/Hubbard"
packages = [
{ include = "hubbard" }
]
[tool.poetry.dependencies]
python = ">=3.9"
pytest = ">=7.2.0"
pytest-order = "1.2.0"
numpy = ">=2.0.0"
scipy = ">=1.13.1"
matplotlib = "*"
ase = "*"
h5py = ">=3.7.0,<=3.11.0,!=3.10.0"
quspin = "1.0.0"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
strict = false
format-jinja = """
{%- if distance == 0 -%}
{{ serialize_pep440(base, stage, revision) }}
{%- elif revision is not none -%}
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
{%- else -%}
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
{%- endif -%}
"""