diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:40:40 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:40:40 +0000 |
| commit | cc060c2932221a184076c82959ee10b011e9a04c (patch) | |
| tree | 56eaa4d50d7e4b5693e0826bd9a419cbda0dd669 | |
| parent | db1efeb975c5ae49ff4312db29637608aae31ad6 (diff) | |
automatic import of python-persimopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-persim.spec | 211 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 213 insertions, 0 deletions
@@ -0,0 +1 @@ +/persim-0.3.1.tar.gz diff --git a/python-persim.spec b/python-persim.spec new file mode 100644 index 0000000..5c2fa71 --- /dev/null +++ b/python-persim.spec @@ -0,0 +1,211 @@ +%global _empty_manifest_terminate_build 0 +Name: python-persim +Version: 0.3.1 +Release: 1 +Summary: Distances and representations of persistence diagrams +License: MIT +URL: https://persim.scikit-tda.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e0/a6/4bf9dc381ccec47a8fe95f7735265c8ec94afec3cd1bd6092e5b86782fc2/persim-0.3.1.tar.gz +BuildArch: noarch + +Requires: python3-scikit-learn +Requires: python3-numpy +Requires: python3-matplotlib +Requires: python3-scipy +Requires: python3-hopcroftkarp +Requires: python3-deprecated +Requires: python3-joblib +Requires: python3-sktda-docs-config +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +[](https://badge.fury.io/py/persim) +[](https://pypi.python.org/pypi/persim/) +[](https://anaconda.org/conda-forge/persim) +[](https://anaconda.org/conda-forge/persim) +[](https://travis-ci.org/scikit-tda/persim) +[](https://codecov.io/gh/scikit-tda/persim) +[](https://opensource.org/licenses/MIT) + + +<img align="right" width="40" height="40" src="https://imgur.com/8p6VwFm.jpg"> + +Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of + +- Persistence Images +- Persistence Landscapes +- Bottleneck distance +- Modified Gromov–Hausdorff distance +- Sliced Wasserstein Kernel +- Heat Kernel +- Diagram plotting + + +## Setup + +The latest version of persim can be found on Pypi and installed with pip: + +``` +pip install persim +``` + +## Documentation and Usage + +Documentation about the library, it's API, and examples of how to use it can be found at [persim.scikit-tda.org](http://persim.scikit-tda.org). + +## Contributions + +We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don't feel you can't contribute. + +To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch. + + + + + + +%package -n python3-persim +Summary: Distances and representations of persistence diagrams +Provides: python-persim +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-persim +[](https://badge.fury.io/py/persim) +[](https://pypi.python.org/pypi/persim/) +[](https://anaconda.org/conda-forge/persim) +[](https://anaconda.org/conda-forge/persim) +[](https://travis-ci.org/scikit-tda/persim) +[](https://codecov.io/gh/scikit-tda/persim) +[](https://opensource.org/licenses/MIT) + + +<img align="right" width="40" height="40" src="https://imgur.com/8p6VwFm.jpg"> + +Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of + +- Persistence Images +- Persistence Landscapes +- Bottleneck distance +- Modified Gromov–Hausdorff distance +- Sliced Wasserstein Kernel +- Heat Kernel +- Diagram plotting + + +## Setup + +The latest version of persim can be found on Pypi and installed with pip: + +``` +pip install persim +``` + +## Documentation and Usage + +Documentation about the library, it's API, and examples of how to use it can be found at [persim.scikit-tda.org](http://persim.scikit-tda.org). + +## Contributions + +We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don't feel you can't contribute. + +To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch. + + + + + + +%package help +Summary: Development documents and examples for persim +Provides: python3-persim-doc +%description help +[](https://badge.fury.io/py/persim) +[](https://pypi.python.org/pypi/persim/) +[](https://anaconda.org/conda-forge/persim) +[](https://anaconda.org/conda-forge/persim) +[](https://travis-ci.org/scikit-tda/persim) +[](https://codecov.io/gh/scikit-tda/persim) +[](https://opensource.org/licenses/MIT) + + +<img align="right" width="40" height="40" src="https://imgur.com/8p6VwFm.jpg"> + +Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of + +- Persistence Images +- Persistence Landscapes +- Bottleneck distance +- Modified Gromov–Hausdorff distance +- Sliced Wasserstein Kernel +- Heat Kernel +- Diagram plotting + + +## Setup + +The latest version of persim can be found on Pypi and installed with pip: + +``` +pip install persim +``` + +## Documentation and Usage + +Documentation about the library, it's API, and examples of how to use it can be found at [persim.scikit-tda.org](http://persim.scikit-tda.org). + +## Contributions + +We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don't feel you can't contribute. + +To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch. + + + + + + +%prep +%autosetup -n persim-0.3.1 + +%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-persim -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1 +- Package Spec generated @@ -0,0 +1 @@ +645959ddda3d04e177eb4a3ed9266c82 persim-0.3.1.tar.gz |
