forked from phonopy/phono3py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (64 loc) · 1.81 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
[build-system]
requires = ["scikit-build-core", "nanobind", "numpy"]
build-backend = "scikit_build_core.build"
[project]
name = "phono3py"
dynamic = ["version"]
readme = { file = "README.md", content-type = "text/markdown" }
description = "This is the phono3py module."
authors = [{ name = "Atsushi Togo", email = "[email protected]" }]
requires-python = ">=3.9"
dependencies = [
"numpy",
"scipy",
"PyYAML",
"matplotlib",
"h5py",
"spglib",
"phonopy>=2.33,<2.34",
]
license = { file = "LICENSE" }
[project.urls]
Homepage = "https://phonopy.github.io/phono3py/"
Repository = "https://github.com/phonopy/phono3py"
[project.scripts]
phono3py = "phono3py.scripts.phono3py:run"
phono3py-load = "phono3py.scripts.phono3py_load:run"
phono3py-coleigplot = "phono3py.scripts.phono3py_coleigplot:run"
phono3py-kaccum = "phono3py.scripts.phono3py_kaccum:run"
phono3py-kdeplot = "phono3py.scripts.phono3py_kdeplot:run"
[tool.scikit-build]
cmake.verbose = true
logging.level = "INFO"
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
sdist.exclude = ["*"]
sdist.include = [
"test",
"LICENSE",
"c",
"example",
"phono3py",
"pyproject.toml",
"CMakeLists.txt",
"README.md",
]
[tool.scikit-build.cmake.define]
PHONO3PY_USE_MTBLAS = {env="PHONO3PY_USE_MTBLAS", default="ON"}
USE_CONDA_PATH = {env="USE_CONDA_PATH", default="ON"}
PHONO3PY_USE_OMP = {env="PHONO3PY_USE_OMP", default="ON"}
BUILD_WITHOUT_LAPACKE = {env="BUILD_WITHOUT_LAPACKE", default="ON"}
[tool.setuptools_scm]
write_to = "phono3py/_version.py"
[tool.ruff]
line-length = 88
lint.select = [
"F", # Flake8
"B", # Black
"I", # isort
"E", # pycodestyle-errors
"D", # pydocstyle
]
lint.extend-ignore = ["D417", "D100"]
exclude = ["cmake-format.py"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"