From 1bbb3b701a2b9132b134cf9819df782ed28375cd Mon Sep 17 00:00:00 2001 From: Pat Gunn Date: Fri, 6 Dec 2024 11:32:06 -0500 Subject: [PATCH] Move dependencies into pyproject --- pyproject.toml | 37 +++++++++++++++++++++++++++++++++++++ requirements.txt | 30 ------------------------------ requirements_gpu.txt | 28 ---------------------------- 3 files changed, 37 insertions(+), 58 deletions(-) delete mode 100644 requirements.txt delete mode 100644 requirements_gpu.txt diff --git a/pyproject.toml b/pyproject.toml index d9f85e955..96941901d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,43 @@ authors = [ { name = "Jeremie Kalfon"}] readme = "README.md" dynamic = ["classifiers", "keywords", "license", "scripts", "version"] +dependencies = [ + "av", + "bokeh", + "coverage", + "cython", + "h5py", + "holoviews", + "ipykernel", + "ipython", + "ipyparallel", + "ipywidgets", + "keras", + "matplotlib", + "mypy", + "numpy", + "numpydoc", + "opencv-python", + "peakutils", + "pims", + "psutil", + "pynwb", + "scikit-image", + "scikit-learn", + "scipy", + "tensorflow", + "tifffile", + "tqdm", + "yapf", + "zarr" +] + +[project.optional-dependencies] +jupyter = [ + "jupyter", + "pyqtgraph", + "tk" +] [build-system] requires = ["cython", "numpy", "setuptools", "wheel"] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f3a39222c..000000000 --- a/requirements.txt +++ /dev/null @@ -1,30 +0,0 @@ -av -bokeh -coverage -cython -h5py -holoviews -ipykernel -ipython -ipyparallel -jupyter -keras -matplotlib -mypy -numpy -numpydoc -opencv-python -peakutils -pims -psutil -pynwb -pyqtgraph -scikit-image -scikit-learn -scipy -tensorflow -tifffile -tk -tqdm -yapf -zarr diff --git a/requirements_gpu.txt b/requirements_gpu.txt deleted file mode 100644 index 6ab23e301..000000000 --- a/requirements_gpu.txt +++ /dev/null @@ -1,28 +0,0 @@ -av -coverage -cython -h5py -ipykernel -ipython -ipyparallel -jupyter -keras -matplotlib -mypy -numpy -numpydoc -opencv-python -peakutils -pims -psutil -pynwb -scikit-image -scikit-learn -scipy -tensorflow -tensorflow-addons -tifffile -tk -tqdm -yapf -zarr