forked from molmod/psiflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (69 loc) · 1.73 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
78
79
80
81
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "psiflow"
version = "4.0.0-rc0"
description = "Library for developing interatomic potentials"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ase >= 3.23.0",
"pyyaml>=6.0",
"numpy>=1.22.3,<2",
"parsl @ git+https://github.com/parsl/parsl.git@bugfix-default-scale-in",
"prettytable",
"psutil",
"cp2k-input-tools @ git+https://github.com/cp2k/cp2k-input-tools", # need 2024.1
"pytimeparse",
]
[project.scripts]
psiflow-client = "psiflow.sampling.client:main"
psiflow-server = "psiflow.sampling.server:main"
psiflow-mace-train = "psiflow.models.mace_utils:main"
[project.optional-dependencies]
docs = [
"mkdocs>=1.4.2",
"mkdocs-autorefs>=0.4.1",
"mkdocs-material>=9.0.3",
"mkdocs-material-extensions>=1.1.1",
"mkdocstrings>=0.19.1",
"mkdocstrings-python>=0.8.3",
]
dev = [
"pre-commit",
"black",
"isort",
"flake8",
"flake8-bugbear",
"flake8-pyproject",
"pytest>=7.2.0",
"coverage>=6.5.0",
"coveralls>=3.3.1",
]
[tool.setuptools.packages.find]
include = [
"psiflow",
"psiflow.models",
"psiflow.data",
"psiflow.reference",
"psiflow.sampling",
"psiflow.utils",
"psiflow.free_energy",
]
[tool.flake8]
max-line-length = 88
extend-ignore = ["E203", "E501", "E704", "B006"]
#select = C,E,F,W,B,B950
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
log_cli = 0
addopts = [
"--basetemp=pytest-tmp", # /tmp/ may be different for each worker!
"--import-mode=append",
"--psiflow-config=configs/threadpool.yaml",
"-W ignore::DeprecationWarning",
"--log-cli-level=WARNING",
]
testpaths = ["tests"]