-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpyproject.toml
111 lines (101 loc) · 2.48 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
[project]
name = "cotengra"
description = "Hyper optimized contraction trees for large tensor networks and einsums."
readme = { file = "README.md", content-type = "text/markdown" }
dynamic = ["version"]
authors = [{ name = "Johnnie Gray", email = "[email protected]" }]
license = { file = "LICENSE.md" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"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 :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
keywords = [
"contraction",
"einsum",
"graph",
"hypergraph",
"network",
"partition",
"tensor",
]
dependencies = ["autoray"]
[project.urls]
"Documentation" = "https://cotengra.readthedocs.io/"
"Repository" = "https://github.com/jcmgray/cotengra/"
"Issues" = "https://github.com/jcmgray/cotengra/issues"
"Changelog" = "https://cotengra.readthedocs.io/en/latest/changelog.html"
[project.optional-dependencies]
recommended = [
"cmaes",
"cotengrust >= 0.1.3",
"cytoolz",
"kahypar",
"networkx",
"numpy",
"opt_einsum",
"optuna",
"ray",
"tqdm",
]
docs = [
"astroid < 3.0.0",
"furo",
"ipython != 8.7.0",
"myst-nb",
"setuptools_scm",
"sphinx >= 2.0",
"sphinx-autoapi",
"sphinx-copybutton",
"sphinx-design",
]
test = [
"altair",
"baytune",
"chocolate",
"cmaes",
"dask",
"distributed",
"kahypar",
"matplotlib",
"networkx",
"nevergrad",
"numpy",
"opt_einsum",
"pytest",
"scikit-optimize",
"seaborn",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "cotengra/_version.py"
[tool.pytest.ini_options]
testpaths = "tests"
# addopts = "--cov=cotengra --cov-report term-missing --cov-report xml:coverage.xml --verbose --durations=10"
# filterwarnings = "once"
[tool.coverage.run]
omit = ["*/cotengra/experimental/*"]
source = ["cotengra"]
[tool.pylama]
ignore = "C901"
max_line_length = 79
[tool.ruff]
line-length = 79
target-version = "py38"
lint.ignore = ["E741"]
[tool.black]
line-length = 79
target-version = ['py38']