forked from sxs-collaboration/sxs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (95 loc) · 2.54 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
[project]
name = "sxs"
dynamic = ["version"]
description = "Interface to data produced by the Simulating eXtreme Spacetimes collaboration"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{ name = "Michael Boyle", email = "michael.oliver.boyle@gmail.com" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy"
]
dependencies = [
"numpy >=1.20",
"scipy >=1.0",
"numba >=0.55; implementation_name == 'cpython'",
"quaternionic >=1.0",
"spherical >=1.0",
"h5py >=3",
"inflection >=0.5.1",
"requests >=2.24.0",
"tqdm >=4.63.1",
"pytz >=2020.1",
"urllib3 >=1.25.10",
"pandas >=1.1.2"
]
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocstrings-python",
"mkdocs-material",
"mkdocs-jupyter"
]
ecosystem = [
"ipywidgets >=7.5.1",
"ipykernel >=5.3.4",
"jupyter_contrib_nbextensions >=0.5.1",
"jupyterlab >=2.2.8",
"line_profiler >=3.0.2",
"memory_profiler >=0.57.0",
"matplotlib >=2.1.1",
"sympy >=1.6.2",
"corner >=2.1.0",
"qgrid >=1.3.1",
"rise >=5.6.1",
"numpy-quaternion >=0.3.1",
"spinsfast >=2022; sys_platform != 'win32'",
"scri >=2020.8.18; sys_platform != 'win32'"
]
[project.urls]
Homepage = "https://github.com/sxs-collaboration/sxs"
Documentation = "https://sxs.readthedocs.io/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "sxs/__version__.py"
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
"pytest-forked >=1.3.0"
]
[tool.hatch.envs.default.scripts]
# Run these as `hatch run test`
test = "pytest {args:tests}"
[tool.hatch.envs.docs]
dependencies = [
"mkdocs",
"mkdocstrings-python",
"mkdocs-material",
"mkdocs-jupyter"
]
[tool.hatch.envs.docs.scripts]
# Run these as `hatch run docs:build` or `hatch run docs:serve`
build = "mkdocs build --clean"
serve = "mkdocs serve --dev-addr localhost:8000"
# This is just a workaround; see https://github.com/danielfrg/mkdocs-jupyter/issues/154
[tool.hatch.envs.docs.env-vars]
JUPYTER_PLATFORM_DIRS = "1"
[tool.black]
line-length = 120
target-version = ["py38"]
[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs = ".* build dist *.egg-info install notes ENV"
junit_family="xunit2"
addopts = "-s -v --doctest-glob='' --cov=sxs --cov-branch --cov-report xml"