summaryrefslogtreecommitdiff
path: root/python-lightly.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-lightly.spec')
-rw-r--r--python-lightly.spec197
1 files changed, 197 insertions, 0 deletions
diff --git a/python-lightly.spec b/python-lightly.spec
new file mode 100644
index 0000000..91aaa81
--- /dev/null
+++ b/python-lightly.spec
@@ -0,0 +1,197 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lightly
+Version: 1.4.4
+Release: 1
+Summary: A deep learning package for self-supervised learning
+License: MIT
+URL: https://www.lightly.ai
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/ed/42f2bd6de1c4fe0d2ec6514804bc0b07c5b9ae6d1041faae4fba7492e201/lightly-1.4.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-certifi
+Requires: python3-hydra-core
+Requires: python3-lightly-utils
+Requires: python3-numpy
+Requires: python3-dateutil
+Requires: python3-requests
+Requires: python3-six
+Requires: python3-tqdm
+Requires: python3-urllib3
+Requires: python3-torch
+Requires: python3-torchvision
+Requires: python3-pytorch-lightning
+Requires: python3-tox
+Requires: python3-sphinx
+Requires: python3-pytest
+Requires: python3-pytest-forked
+Requires: python3-pytest-xdist
+Requires: python3-pytest-mock
+Requires: python3-responses
+Requires: python3-docutils
+Requires: python3-sphinx-copybutton
+Requires: python3-sphinx-design
+Requires: python3-sphinx-gallery
+Requires: python3-sphinx-tabs
+Requires: python3-sphinx-reredirects
+Requires: python3-sphinx-rtd-theme
+Requires: python3-matplotlib
+Requires: python3-pre-commit
+Requires: python3-opencv-python
+Requires: python3-scikit-learn
+Requires: python3-pandas
+Requires: python3-torchmetrics
+Requires: python3-lightning-bolts
+Requires: python3-black
+Requires: python3-isort
+Requires: python3-torchvision
+Requires: python3-av
+Requires: python3-tox
+Requires: python3-sphinx
+Requires: python3-pytest
+Requires: python3-pytest-forked
+Requires: python3-pytest-xdist
+Requires: python3-pytest-mock
+Requires: python3-responses
+Requires: python3-docutils
+Requires: python3-sphinx-copybutton
+Requires: python3-sphinx-design
+Requires: python3-sphinx-gallery
+Requires: python3-sphinx-tabs
+Requires: python3-sphinx-reredirects
+Requires: python3-sphinx-rtd-theme
+Requires: python3-matplotlib
+Requires: python3-pre-commit
+Requires: python3-opencv-python
+Requires: python3-scikit-learn
+Requires: python3-pandas
+Requires: python3-torchmetrics
+Requires: python3-lightning-bolts
+Requires: python3-black
+Requires: python3-isort
+Requires: python3-torchvision
+Requires: python3-av
+
+%description
+# Lightly
+
+Lightly is a PIP package for self-supervised learning.
+
+> We, at [Lightly](https://www.lightly.ai), are passionate engineers who want to make deep learning more efficient. We want to help popularize the use of self-supervised methods to understand and filter raw image data. Our solution can be applied before any data annotation step and the learned representations can be used to analyze and visualize datasets as well as for selecting a core set of samples.
+
+If you are curious to learn more about our work - check out [Lightly](https://www.lightly.ai)!
+
+## Installation
+
+```
+pip install lightly
+```
+
+
+## Links
+- [Homepage](https://www.lightly.ai)
+- [Web-App](https://app.lightly.ai)
+- [Documentation](https://docs.lightly.ai)
+- [Github](https://github.com/lightly-ai/lightly)
+- [Discord](https://discord.gg/xvNJW94)
+
+
+%package -n python3-lightly
+Summary: A deep learning package for self-supervised learning
+Provides: python-lightly
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lightly
+# Lightly
+
+Lightly is a PIP package for self-supervised learning.
+
+> We, at [Lightly](https://www.lightly.ai), are passionate engineers who want to make deep learning more efficient. We want to help popularize the use of self-supervised methods to understand and filter raw image data. Our solution can be applied before any data annotation step and the learned representations can be used to analyze and visualize datasets as well as for selecting a core set of samples.
+
+If you are curious to learn more about our work - check out [Lightly](https://www.lightly.ai)!
+
+## Installation
+
+```
+pip install lightly
+```
+
+
+## Links
+- [Homepage](https://www.lightly.ai)
+- [Web-App](https://app.lightly.ai)
+- [Documentation](https://docs.lightly.ai)
+- [Github](https://github.com/lightly-ai/lightly)
+- [Discord](https://discord.gg/xvNJW94)
+
+
+%package help
+Summary: Development documents and examples for lightly
+Provides: python3-lightly-doc
+%description help
+# Lightly
+
+Lightly is a PIP package for self-supervised learning.
+
+> We, at [Lightly](https://www.lightly.ai), are passionate engineers who want to make deep learning more efficient. We want to help popularize the use of self-supervised methods to understand and filter raw image data. Our solution can be applied before any data annotation step and the learned representations can be used to analyze and visualize datasets as well as for selecting a core set of samples.
+
+If you are curious to learn more about our work - check out [Lightly](https://www.lightly.ai)!
+
+## Installation
+
+```
+pip install lightly
+```
+
+
+## Links
+- [Homepage](https://www.lightly.ai)
+- [Web-App](https://app.lightly.ai)
+- [Documentation](https://docs.lightly.ai)
+- [Github](https://github.com/lightly-ai/lightly)
+- [Discord](https://discord.gg/xvNJW94)
+
+
+%prep
+%autosetup -n lightly-1.4.4
+
+%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-lightly -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.4-1
+- Package Spec generated