-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
72 lines (67 loc) · 1.42 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
[project]
name = "openquad"
dynamic = ["version"]
authors = [
{name="Alexander Blech", email="[email protected]"},
]
description = "Open database for multi-dimensional numerical integration"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3"
dependencies = [
"numpy",
"scipy",
"quaternionic",
]
keywords = [
"quadrature",
"integration",
"numerical integration",
"spherical quadrature",
"illumination integral",
"orientation average",
"Euler angles",
"orientation",
"SO3",
"Lebedev",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/openquad/__init__.py"
[project.optional-dependencies]
dev = [
"pytest",
"spherical",
]
examples = [
"matplotlib",
"spherical",
]
doc = [
"sphinx==7.4.7",
"pydata_sphinx_theme==0.15.4",
"intersphinx_registry",
"sphinx-autoapi==3.2.1",
"sphinx-copybutton==0.5.2",
"sphinx_design==0.6.0",
"numpydoc==1.7.0",
]
[tool.hatch.envs.doc]
description = "Build documentation (Python 3.12)"
template = "doc"
features = [
"dev",
"doc",
]
python = "3.12"
[tool.hatch.envs.doc.scripts]
build = [
#"sphinx-build -v -W --keep-going -b html doc doc/_build/html -d doc/_build/doctree",
"sphinx-build -b html doc doc/_build/html -d doc/_build/doctree",
]
serve = "python -m http.server -d doc/_build/html"