From 6acf5a1b1a0e285e98e70a0119feffe33ca3594b Mon Sep 17 00:00:00 2001 From: Eric Prestat Date: Sat, 28 Oct 2023 23:03:53 +0200 Subject: [PATCH] Update dependency requirement --- setup.py | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 206946e50..ce1119f79 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,12 @@ # https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies extra_feature_requirements = { + "gui-jupyter": [ + "hyperspy_gui_ipywidgets @ git+https://github.com/ericpre/hyperspy_gui_ipywidgets.git@hyperspy2.0", + ], + "gui-traitsui": [ + "hyperspy_gui_traitsui @ git+https://github.com/ericpre/hyperspy_gui_traitsui.git@hyperspy2.0", + ], "doc": [ "numpydoc", "pydata-sphinx-theme>=0.13", @@ -36,6 +42,7 @@ ], "tests": [ "pytest >= 5.0", + "pytest-mpl", "pytest-cov >= 2.8.1", ], "dev": ["black", "pre-commit >=1.16"], @@ -58,10 +65,10 @@ ], classifiers=[ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", @@ -76,10 +83,19 @@ package_dir={"exspy": "exspy"}, extras_require=extra_feature_requirements, install_requires=[ - "hyperspy_gui_ipywidgets @ git+https://github.com/ericpre/hyperspy_gui_ipywidgets.git@hyperspy2.0", - "hyperspy_gui_traitsui @ git+https://github.com/ericpre/hyperspy_gui_traitsui.git@hyperspy2.0", + "dask[array]", + "hyperspy @ git+https://github.com/hyperspy/hyperspy@RELEASE_next_major", + "matplotlib", + "numexpr", + "numpy", + "pint", + "pooch", + "prettytable", + "requests", + "scipy", + "traits", ], - python_requires=">=3.7", + python_requires="~=3.8", package_data={ "": ["LICENSE", "README.rst"], "exspy": [