%global _empty_manifest_terminate_build 0 Name: python-hyperspy-gui-traitsui Version: 1.5.2 Release: 1 Summary: traitsui GUI elements for HyperSpy. License: GPLv3 URL: https://github.com/hyperspy/hyperspy_gui_traitsui Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/64/a9182249b9aa85d428b72601e9bc29b2519a8d79d973e11fef900fa96fa3/hyperspy_gui_traitsui-1.5.2.tar.gz BuildArch: noarch Requires: python3-traits Requires: python3-hyperspy Requires: python3-traitsui Requires: python3-pytest-cov Requires: python3-codecov Requires: python3-pytest %description [![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui) **hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy. ## Installation ### Option 1: With pip Make sure you have [pip installed](https://pip.pypa.io/en/stable/installing/) and run: ```bash pip install hyperspy_gui_traitsui ``` ### Option 2: With Anaconda Install anaconda for your platform and run ```bash conda install hyperspy-gui-traitsui -c conda-forge ``` ## Usage Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour): ```python %matplotlib qt import hyperspy.api as hs hs.preferences.gui(toolkit="traitsui") ``` ![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui") ## Development Contributions through pull requests are welcome. See the [HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html). %package -n python3-hyperspy-gui-traitsui Summary: traitsui GUI elements for HyperSpy. Provides: python-hyperspy-gui-traitsui BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-hyperspy-gui-traitsui [![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui) **hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy. ## Installation ### Option 1: With pip Make sure you have [pip installed](https://pip.pypa.io/en/stable/installing/) and run: ```bash pip install hyperspy_gui_traitsui ``` ### Option 2: With Anaconda Install anaconda for your platform and run ```bash conda install hyperspy-gui-traitsui -c conda-forge ``` ## Usage Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour): ```python %matplotlib qt import hyperspy.api as hs hs.preferences.gui(toolkit="traitsui") ``` ![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui") ## Development Contributions through pull requests are welcome. See the [HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html). %package help Summary: Development documents and examples for hyperspy-gui-traitsui Provides: python3-hyperspy-gui-traitsui-doc %description help [![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui) [![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui) **hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy. ## Installation ### Option 1: With pip Make sure you have [pip installed](https://pip.pypa.io/en/stable/installing/) and run: ```bash pip install hyperspy_gui_traitsui ``` ### Option 2: With Anaconda Install anaconda for your platform and run ```bash conda install hyperspy-gui-traitsui -c conda-forge ``` ## Usage Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour): ```python %matplotlib qt import hyperspy.api as hs hs.preferences.gui(toolkit="traitsui") ``` ![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui") ## Development Contributions through pull requests are welcome. See the [HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html). %prep %autosetup -n hyperspy-gui-traitsui-1.5.2 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-hyperspy-gui-traitsui -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 29 2023 Python_Bot - 1.5.2-1 - Package Spec generated