forked from jxli2a/dasio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (39 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
43 lines (39 loc) · 1.32 KB
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
[build-system]
requires = ["scikit-build-core>=0.8", "pybind11>=2.11"]
build-backend = "scikit_build_core.build"
[project]
name = "dasio"
version = "0.1.0"
description = "Lightweight standalone IO + basic processing for DAS (Distributed Acoustic Sensing) data"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = [
"numpy>=1.23",
"h5py>=3",
"scipy>=1.9",
"numba>=0.57",
"pandas>=1.5",
"pyarrow>=14",
"matplotlib>=3.6",
"joblib>=1.2",
"tqdm>=4",
]
[project.optional-dependencies]
dev = ["pytest>=7"]
# ipykernel, not jupyterlab: the env has to be usable *as a kernel*, which is
# what both VSCode and a browser JupyterLab connect to, and ipywidgets does not
# pull it. JupyterLab itself is the frontend application -- VSCode replaces it
# outright, and a browser install is made once in the launching env -- so
# declaring it would add 66 packages (jupyter-server, nbconvert, tornado, ...)
# that the viewer never calls. The widget renderer, jupyterlab_widgets, does
# come with ipywidgets.
viewer = ["fastplotlib>=0.3", "ipywidgets>=8", "ipykernel>=6"]
noise = ["torch>=2"]
pick = ["phasenet>=0.2"]
[project.scripts]
das-desample = "dasio.desample:main"
das-extract-events = "dasio.extract_events:main"
[tool.scikit-build]
cmake.version = ">=3.15"
wheel.packages = ["dasio"]