diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 15:31:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 15:31:22 +0000 |
commit | 645a9e6c883b783fb64865ba65b0b28c396cc60d (patch) | |
tree | 20fcb878e934d42163e6bf0d6a7dabd5985956bc | |
parent | 52824c8df79f826ff831a3d464015bb5086d0bd6 (diff) |
automatic import of python-spotify-tensorflowopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-spotify-tensorflow.spec | 309 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 311 insertions, 0 deletions
@@ -0,0 +1 @@ +/spotify_tensorflow-0.7.7.tar.gz diff --git a/python-spotify-tensorflow.spec b/python-spotify-tensorflow.spec new file mode 100644 index 0000000..c6e8e95 --- /dev/null +++ b/python-spotify-tensorflow.spec @@ -0,0 +1,309 @@ +%global _empty_manifest_terminate_build 0 +Name: python-spotify_tensorflow +Version: 0.7.7 +Release: 1 +Summary: Spotify-specific helpers for TensorFlow +License: Apache-2 +URL: https://github.com/spotify/spotify-tensorflow +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0b/48/415fa10b97a989911aca776df010f373aa490f423e7eef68f083011a4f03/spotify_tensorflow-0.7.7.tar.gz +BuildArch: noarch + + +%description +# spotify-tensorflow + +[](https://circleci.com/gh/spotify/spotify-tensorflow) +[](https://codecov.io/github/spotify/spotify-tensorflow?branch=master) +[](./LICENSE) +[](https://badge.fury.io/py/spotify_tensorflow) + +## Purpose: + +Provide Spotify specific TensorFlow helpers. + +## Features + + * tf.data integration with [Featran](https://github.com/spotify/featran) + * common Dataset API to read: + * TFRecord datasets as tf.Tensor + * TFRecord datasets as Pandas DataFrame + * TFRecord datasets as python dict + * tf.Graph freezing utilities + * TensorFlow integration with [Luigi](https://github.com/spotify/luigi) + +## Examples: + +Check examples in the [examples directory](https://github.com/spotify/spotify-tensorflow/tree/master/examples), +currently they include: + + * sklearn training via Pandas DataFrame dataset + * XGBoost training via tf.Example dataset + * TensorFlow training via tf.Example dataset + +To run the examples: + +```sh +$ pip install -e .[examples] +$ bin/run-examples +``` + +## Development: + +This project uses `tox`. + +```sh +$ pip install tox +``` + +To see all `testenv`'s: + +```sh +$ tox -l +mypy +lint +examples-py27 +examples-py35 +test-py27 +test-py35 +upload-coverage +license +``` + +To run the tests: + +``` +tox -e test +``` + +To release: + +``` +git commit --allow-empty -m "Release x.y.z" +git tag x.y.z +git push --tags origin master +``` + +Then upload to pypi: + +``` +python setup.py sdist upload -r pypi +``` + + + +%package -n python3-spotify_tensorflow +Summary: Spotify-specific helpers for TensorFlow +Provides: python-spotify_tensorflow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-spotify_tensorflow +# spotify-tensorflow + +[](https://circleci.com/gh/spotify/spotify-tensorflow) +[](https://codecov.io/github/spotify/spotify-tensorflow?branch=master) +[](./LICENSE) +[](https://badge.fury.io/py/spotify_tensorflow) + +## Purpose: + +Provide Spotify specific TensorFlow helpers. + +## Features + + * tf.data integration with [Featran](https://github.com/spotify/featran) + * common Dataset API to read: + * TFRecord datasets as tf.Tensor + * TFRecord datasets as Pandas DataFrame + * TFRecord datasets as python dict + * tf.Graph freezing utilities + * TensorFlow integration with [Luigi](https://github.com/spotify/luigi) + +## Examples: + +Check examples in the [examples directory](https://github.com/spotify/spotify-tensorflow/tree/master/examples), +currently they include: + + * sklearn training via Pandas DataFrame dataset + * XGBoost training via tf.Example dataset + * TensorFlow training via tf.Example dataset + +To run the examples: + +```sh +$ pip install -e .[examples] +$ bin/run-examples +``` + +## Development: + +This project uses `tox`. + +```sh +$ pip install tox +``` + +To see all `testenv`'s: + +```sh +$ tox -l +mypy +lint +examples-py27 +examples-py35 +test-py27 +test-py35 +upload-coverage +license +``` + +To run the tests: + +``` +tox -e test +``` + +To release: + +``` +git commit --allow-empty -m "Release x.y.z" +git tag x.y.z +git push --tags origin master +``` + +Then upload to pypi: + +``` +python setup.py sdist upload -r pypi +``` + + + +%package help +Summary: Development documents and examples for spotify_tensorflow +Provides: python3-spotify_tensorflow-doc +%description help +# spotify-tensorflow + +[](https://circleci.com/gh/spotify/spotify-tensorflow) +[](https://codecov.io/github/spotify/spotify-tensorflow?branch=master) +[](./LICENSE) +[](https://badge.fury.io/py/spotify_tensorflow) + +## Purpose: + +Provide Spotify specific TensorFlow helpers. + +## Features + + * tf.data integration with [Featran](https://github.com/spotify/featran) + * common Dataset API to read: + * TFRecord datasets as tf.Tensor + * TFRecord datasets as Pandas DataFrame + * TFRecord datasets as python dict + * tf.Graph freezing utilities + * TensorFlow integration with [Luigi](https://github.com/spotify/luigi) + +## Examples: + +Check examples in the [examples directory](https://github.com/spotify/spotify-tensorflow/tree/master/examples), +currently they include: + + * sklearn training via Pandas DataFrame dataset + * XGBoost training via tf.Example dataset + * TensorFlow training via tf.Example dataset + +To run the examples: + +```sh +$ pip install -e .[examples] +$ bin/run-examples +``` + +## Development: + +This project uses `tox`. + +```sh +$ pip install tox +``` + +To see all `testenv`'s: + +```sh +$ tox -l +mypy +lint +examples-py27 +examples-py35 +test-py27 +test-py35 +upload-coverage +license +``` + +To run the tests: + +``` +tox -e test +``` + +To release: + +``` +git commit --allow-empty -m "Release x.y.z" +git tag x.y.z +git push --tags origin master +``` + +Then upload to pypi: + +``` +python setup.py sdist upload -r pypi +``` + + + +%prep +%autosetup -n spotify_tensorflow-0.7.7 + +%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-spotify_tensorflow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.7-1 +- Package Spec generated @@ -0,0 +1 @@ +23eb32b12ab0a51d61f232e94c21eeb1 spotify_tensorflow-0.7.7.tar.gz |