From df68a40de26184be68749f830a77bbf656465c1a Mon Sep 17 00:00:00 2001 From: Matteo Cencini Date: Wed, 10 Jan 2024 10:22:06 +0100 Subject: [PATCH] Removing unused dependencies --- .../api/generated/deepmr.io.read_rawdata.rst | 6 +++ docs/source/conf.py | 22 ++++++----- setup.cfg | 37 ++++++++----------- 3 files changed, 34 insertions(+), 31 deletions(-) create mode 100644 docs/source/api/generated/deepmr.io.read_rawdata.rst diff --git a/docs/source/api/generated/deepmr.io.read_rawdata.rst b/docs/source/api/generated/deepmr.io.read_rawdata.rst new file mode 100644 index 00000000..8b3db758 --- /dev/null +++ b/docs/source/api/generated/deepmr.io.read_rawdata.rst @@ -0,0 +1,6 @@ +deepmr.io.read\_rawdata +======================= + +.. currentmodule:: deepmr.io + +.. autofunction:: read_rawdata \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 9e6865c3..584e7f58 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -23,16 +23,18 @@ "sphinx.ext.napoleon", "sphinx.ext.viewcode", ] -autodoc_mock_imports = ['torch', - 'dacite', - 'numpy', - 'scipy', - 'matplotlib', - 'h5py', - 'nibabel', - 'pydicom', - 'mat73', - 'ismrmrd'] + +autodoc_mock_imports = ["h5py", + "ismrmrd", + "mat73", + "matplotlib", + "nibabel", + "numpy", + "numba", + "pydicom", + "scipy", + "torch", + "tqdm"] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/setup.cfg b/setup.cfg index ce08f87b..307e52d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -49,22 +49,17 @@ python_requires = >=3.9 # For more information, check out https://semver.org/. install_requires = importlib-metadata; python_version<"3.9" - dacite - h5py - ismrmrd - mat73 - matplotlib - nibabel - numpy - numba - phantominator - pydicom - pynetdicom - scipy - torch - tqdm - nufftorch @ git+https://github.com/FiRMLAB-Pisa/nufft-torch.git - + h5py + ismrmrd + mat73 + matplotlib + nibabel + numpy + numba + pydicom + scipy + torch + tqdm [options.packages.find] where = src @@ -78,16 +73,16 @@ exclude = # Add here test requirements (semicolon/line-separated) dev = - autoflake + autoflake black pytest pytest-cov - sphinx==6.2.1 - tox + sphinx==6.2.1 + tox ide = - spyder - notebook + spyder + notebook [options.entry_points] # Add here console scripts like: