-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
134 lines (126 loc) · 2.99 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "Vayesta"
description = "A toolkit for quantum embedding methods"
keywords = [
"embedding",
"quantum", "chemistry",
"material", "science",
"electronic", "structure",
"dmet", "rpa"
]
authors = [
{name="M. Nusspickel", email="[email protected]"},
{name="O. J. Backhouse", email="[email protected]"},
{name="B. Ibrahim", email="[email protected]"},
{name="A. Santana-Bonilla", email="[email protected]"},
{name="C. J. C. Scott", email="[email protected]"},
{name="A. Khedkar", email="[email protected]"},
{name="G. H. Booth", email="[email protected]"},
]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: C",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"numpy>=1.19.0",
"scipy>=1.1.0,<=1.10.0",
"h5py>=2.7",
"cvxpy>=1.1",
"pyscf @ git+https://github.com/pyscf/pyscf@master",
]
dynamic = ["version"]
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[tools.setuptools]
license-files = ["LICENSE"]
[tools.setuptools.dynamic]
version = {attr = "vayesta.__version__"}
[project.optional-dependencies]
dmet = [
"cvxpy>=1.1",
]
mpi = [
"mpi4py>=3.0.0",
]
dyson = [
"dyson @ git+https://github.com/BoothGroup/dyson@master",
]
ebcc = [
"ebcc",
]
pygnme = [
"pygnme @ git+https://github.com/BoothGroup/pygnme@master"
]
dev = [
"cvxpy>=1.1",
"mpi4py>=3.0.0",
"dyson @ git+https://github.com/BoothGroup/dyson@master",
"ebcc",
"black>=22.6.0",
"pytest",
"pytest-cov",
"pre-commit",
]
[tool.coverage.run]
branch = true
source = ["vayesta"]
omit = [
"*/libs/*",
"*/tests/*",
"*/tools/*",
"*/core/DEL/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise RuntimeError",
"raise NotImplementedError",
"raise AssertionError",
"raise ValueError",
"raise AbstractMethodError",
"except ImportError",
"pass",
"if __name__ == .__main__.:",
"def __repr__",
"def __str__",
"log.error",
"log.critical",
]
[tool.pytest.ini_options]
addopts = "--import-mode=importlib -m 'not veryslow'"
testpaths = ["vayesta/tests"]
markers = [
"fast",
"slow",
"veryslow",
]
[tool.black]
line-length = 120
target-version = [
"py38",
"py39",
"py310",
"py311",
]
include="\\.py"
extend-exclude = """
/(
__pycache__*
/)
"""