diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-08 07:12:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 07:12:11 +0000 |
| commit | 6252941901eabe4acd0f1514c4a319c3f7c40b16 (patch) | |
| tree | cf05a16af029370a0336a9dc8dc437b4a5f07631 | |
| parent | a03a74cb7a15a9571a4f68bca53faa73495a32c8 (diff) | |
automatic import of python-morphonetopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-morphonet.spec | 241 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 243 insertions, 0 deletions
@@ -0,0 +1 @@ +/morphonet-2.1.8.tar.gz diff --git a/python-morphonet.spec b/python-morphonet.spec new file mode 100644 index 0000000..ab2691e --- /dev/null +++ b/python-morphonet.spec @@ -0,0 +1,241 @@ +%global _empty_manifest_terminate_build 0 +Name: python-morphonet +Version: 2.1.8 +Release: 1 +Summary: Python API to interact with MorphoNet +License: OSI Approved +URL: https://gitlab.inria.fr/efaure/MorphoNet +Source0: https://mirrors.aliyun.com/pypi/web/packages/83/0a/74b1045cfd876aa6450a919b6ed9986cce68a1409a10eb3a2c3394514909/morphonet-2.1.8.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-numpy +Requires: python3-vtk +Requires: python3-imageio +Requires: python3-scikit-image +Requires: python3-scipy +Requires: python3-nibabel + +%description +# MorphoNet + +This is an API is used to interact with MorphoNet with python script. +You can find more help and tutorials on the MorphoNet website : http://www.morphonet.org + +Help pages : https://morphonet.org/help_api + +How to use : https://morphonet.org/helpfiles/API/index.html + +Pip Project :https://pypi.org/project/morphonet/ + + +This git contains : +- API(Net+Plot) +- Help API +- Script Build API Package to Pip + +## Installation +This API work on python 3.7 +You can simply install the MorphoNet API using `pip install morphonet` + +### Dependencies +The package will automatically install some dependencies : +* [numpy](https://pypi.org/project/numpy/) +* [scikit-image](https://pypi.org/project/scikit-image/) +* [scipy](https://pypi.org/project/scipy/) +* [vtk](https://pypi.org/project/vtk/) (to convert the segmentation in meshes) +* [requests](https://pypi.org/project/requests/) (to interrogate the morphonet server) +* [imageio](https://pypi.org/project/imageio/) (for Image Handling) +* [nibabel](https://pypi.org/project/nibabel/) (to load and save in nii format) + +## Examples + +Some examples are here to help you get started in the [examples](examples) directory. +For example, [TestConnection.py](examples/basic/TestConnection.py) + +## Authors + +Emmanuel Faure [1,2] + +Benjamin Gallean [1,2] + +Tao Laurent [2] + + +with theses affiliations + +[1] Centre de Recherche de Biologie cellulaire de Montpellier, CRBM, CNRS, Université de Montpellier, France. +[2] Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier (LIRMM), LIRMM, Univ Montpellier, CNRS, Montpellier, France. + +*Correspondence should be addressed to Emmanuel Faure (emmanuel.faure@lirmm.fr) + +## License +This project is licensed under the CeCILL License - see the [LICENSE](LICENSE) file for details + + +%package -n python3-morphonet +Summary: Python API to interact with MorphoNet +Provides: python-morphonet +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-morphonet +# MorphoNet + +This is an API is used to interact with MorphoNet with python script. +You can find more help and tutorials on the MorphoNet website : http://www.morphonet.org + +Help pages : https://morphonet.org/help_api + +How to use : https://morphonet.org/helpfiles/API/index.html + +Pip Project :https://pypi.org/project/morphonet/ + + +This git contains : +- API(Net+Plot) +- Help API +- Script Build API Package to Pip + +## Installation +This API work on python 3.7 +You can simply install the MorphoNet API using `pip install morphonet` + +### Dependencies +The package will automatically install some dependencies : +* [numpy](https://pypi.org/project/numpy/) +* [scikit-image](https://pypi.org/project/scikit-image/) +* [scipy](https://pypi.org/project/scipy/) +* [vtk](https://pypi.org/project/vtk/) (to convert the segmentation in meshes) +* [requests](https://pypi.org/project/requests/) (to interrogate the morphonet server) +* [imageio](https://pypi.org/project/imageio/) (for Image Handling) +* [nibabel](https://pypi.org/project/nibabel/) (to load and save in nii format) + +## Examples + +Some examples are here to help you get started in the [examples](examples) directory. +For example, [TestConnection.py](examples/basic/TestConnection.py) + +## Authors + +Emmanuel Faure [1,2] + +Benjamin Gallean [1,2] + +Tao Laurent [2] + + +with theses affiliations + +[1] Centre de Recherche de Biologie cellulaire de Montpellier, CRBM, CNRS, Université de Montpellier, France. +[2] Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier (LIRMM), LIRMM, Univ Montpellier, CNRS, Montpellier, France. + +*Correspondence should be addressed to Emmanuel Faure (emmanuel.faure@lirmm.fr) + +## License +This project is licensed under the CeCILL License - see the [LICENSE](LICENSE) file for details + + +%package help +Summary: Development documents and examples for morphonet +Provides: python3-morphonet-doc +%description help +# MorphoNet + +This is an API is used to interact with MorphoNet with python script. +You can find more help and tutorials on the MorphoNet website : http://www.morphonet.org + +Help pages : https://morphonet.org/help_api + +How to use : https://morphonet.org/helpfiles/API/index.html + +Pip Project :https://pypi.org/project/morphonet/ + + +This git contains : +- API(Net+Plot) +- Help API +- Script Build API Package to Pip + +## Installation +This API work on python 3.7 +You can simply install the MorphoNet API using `pip install morphonet` + +### Dependencies +The package will automatically install some dependencies : +* [numpy](https://pypi.org/project/numpy/) +* [scikit-image](https://pypi.org/project/scikit-image/) +* [scipy](https://pypi.org/project/scipy/) +* [vtk](https://pypi.org/project/vtk/) (to convert the segmentation in meshes) +* [requests](https://pypi.org/project/requests/) (to interrogate the morphonet server) +* [imageio](https://pypi.org/project/imageio/) (for Image Handling) +* [nibabel](https://pypi.org/project/nibabel/) (to load and save in nii format) + +## Examples + +Some examples are here to help you get started in the [examples](examples) directory. +For example, [TestConnection.py](examples/basic/TestConnection.py) + +## Authors + +Emmanuel Faure [1,2] + +Benjamin Gallean [1,2] + +Tao Laurent [2] + + +with theses affiliations + +[1] Centre de Recherche de Biologie cellulaire de Montpellier, CRBM, CNRS, Université de Montpellier, France. +[2] Laboratoire d'Informatique, de Robotique et de Microélectronique de Montpellier (LIRMM), LIRMM, Univ Montpellier, CNRS, Montpellier, France. + +*Correspondence should be addressed to Emmanuel Faure (emmanuel.faure@lirmm.fr) + +## License +This project is licensed under the CeCILL License - see the [LICENSE](LICENSE) file for details + + +%prep +%autosetup -n morphonet-2.1.8 + +%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-morphonet -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.8-1 +- Package Spec generated @@ -0,0 +1 @@ +083d376b69fa11daa784b3405e75d7af morphonet-2.1.8.tar.gz |
