Skip to content

Commit 43a7adf

Browse files
committed
Make numba optional
1 parent 38a8c02 commit 43a7adf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ requires-python = ">=3.7"
1919
keywords = ["action potential", "cell", "models", "features"]
2020
dependencies = [
2121
"numpy",
22-
"numba",
2322
"scipy",
2423
"tqdm",
2524
]
@@ -31,9 +30,11 @@ Source = "https://github.com/ComputationalPhysiology/ap_features"
3130
Tracker = "https://github.com/ComputationalPhysiology/ap_features/issues"
3231

3332
[project.optional-dependencies]
33+
numba = ["numba"]
3434
array = [
3535
"h5py",
36-
"dask[array]"
36+
"dask[array]",
37+
"numba",
3738
]
3839
dev = [
3940
"pdbpp",
@@ -62,6 +63,7 @@ docs = [
6263
"sphinx-external-toc",
6364
"sphinx-thebe",
6465
"ap_features[plot]",
66+
"numba",
6567
]
6668
test = [
6769
"pytest",

0 commit comments

Comments
 (0)