-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
77 lines (67 loc) · 2.14 KB
/
pyproject.toml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "cp2k-spm-tools"
description = "CP2K Scanning Probe Microscopy tools."
version = "1.5.0"
authors = [
{ name = "Kristjan Eimre", email = "[email protected]" },
{ name = "Edoardo Baldi", email = "[email protected]" },
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy >= 1.22, < 2",
"scipy >= 1.10, < 2",
"ase >= 3.15, < 4",
"matplotlib >= 3.0, < 4",
"mpi4py > 3.1",
]
[project.urls]
"Homepage" = "https://github.com/nanotech-empa/cp2k-spm-tools"
"Bug Tracker" = "https://github.com/nanotech-empa/cp2k-spm-tools/issues"
[project.optional-dependencies]
dev = ["ruff", "pre-commit", "bumpver>=2023.1129"]
[project.scripts]
cp2k-bader-bond-order = "cp2k_spm_tools.cli.bader_bond_order:main"
cp2k-crop-orbs-wfn = "cp2k_spm_tools.cli.crop_orbs_wfn:main"
cp2k-cube-from-wfn = "cp2k_spm_tools.cli.cube_from_wfn:main"
cp2k-cube-operations = "cp2k_spm_tools.cli.cube_operations:main"
cp2k-cube-single-column = "cp2k_spm_tools.cli.cube_single_column:main"
cp2k-cube-split = "cp2k_spm_tools.cli.cube_split:main"
cp2k-hrstm-from-wfn = "cp2k_spm_tools.cli.hrstm_from_wfn:main"
cp2k-overlap-from-wfns = "cp2k_spm_tools.cli.overlap_from_wfns:main"
cp2k-stm-sts-wfn = "cp2k_spm_tools.cli.stm_sts_from_wfn:main"
cp2k-stm-sts-plot = "cp2k_spm_tools.cli.stm_sts_plotter:main"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"cp2k_spm_tools",
"cp2k_spm_tools.cli",
"cp2k_spm_tools.hrstm_tools",
]
[tool.ruff]
line-length = 120
exclude = ["*.ipynb"]
[tool.ruff.lint]
fixable = ["ALL"]
select = ["E", "F", "I", "W"]
ignore = ["E402", "E501", "E741", "E722"]
[tool.bumpver]
current_version = "v1.5.0"
version_pattern = "vMAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{pep440_version}"',
'current_version = "{version}"',
]