-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
104 lines (90 loc) · 3.2 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
[tool.scikit-build.cmake.define]
BUILD_DOC = {env="BUILD_DOC", default="OFF"}
[build-system]
requires = ["scikit-build-core", "pybind11", "numpy>=2.0"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.version = ">=3.15"
build-dir = "build" # The build directory. Defaults to a temporary directory, but can be set.
cmake.build-type = "Debug" # TODO: for now setup debug builds - update this once we release!
# Select the editable mode to use. Can be "redirect" (default) or "inplace".
# editable.mode = "inplace"
wheel.packages = ["cyten"]
[project]
name = "cyten"
version = "0.1"
# dynamic = ["version"] # TODO: does this still work with scikit build?
description = ""
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9"
license = {text = "Apache_v2"}
# authors = [
# {name = "TeNPy Developer Team"},
# {name = "cyten Developer Team"},
# ]
# maintainers = [
# {name = "Johannes Hauschild", email="[email protected]"},
# ...
# ]
keywords = ["tensor networks", "tensor"]
classifiers = [
"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Unix",
"Operating System :: MacOS",
# "Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"numpy",
"scipy",
]
[project.optional-dependencies]
io = ["h5py", "pyyaml"]
gpu = ["torch"]
test = ["pytest>=6.0", "sympy", "cyten[io, gpu]"]
extra = ["yapf==0.28.0", "docformatter==1.3.1"]
docbuild = [
"Sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-bibtex",
"sphinx_copybutton",
]
all = ["cyten[io, test, extra, docbuild]"]
[project.urls]
"Homepage" = "https://github.com/tenpy/cyten"
# "Documentation" = "https://cyten.readthedocs.io/"
"Source" = "https://github.com/tenpy/cyten"
"Bug Tracker" = "https://github.com/tenpy/cyten/issues"
# [project.scripts]
# cyten-run = "cyten:console_main"
[tool.setuptools.packages.find]
include = ['cyten*']
[tool.pytest.ini_options]
filterwarnings = [
"error", # consider all unfiltered warnings error. they should be handled or filtered.
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"FusionTree: marks tests that use the FusionTreeBackend.",
"numpy: marks tests that use the numpy block backend.",
"torch: marks tests that use the torch block backend.",
"example: marks tests as example (deselect with '-m \"not example\"')",
"deselect_invalid_ChargedTensor_cases: modifies collection. See notes in conftest.py",
]
log_level = "INFO"
log_format = "%(asctime)s %(levelname)-8s %(filename)-16s%(lineno)4d: %(message)s"
testpaths = ["tests"]