diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:38:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:38:47 +0000 |
| commit | 72f94a9b5e9efaa4bae80bf536eacdcabb6a3fb1 (patch) | |
| tree | acff67375f8d6f1bad122359e788cbb1ff14a71b | |
| parent | 70aa7f32dc7aba91def22aa3d5f6bd6fff86cd03 (diff) | |
automatic import of python-nowcasting-utils
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-nowcasting-utils.spec | 186 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 188 insertions, 0 deletions
@@ -0,0 +1 @@ +/nowcasting_utils-0.0.42.tar.gz diff --git a/python-nowcasting-utils.spec b/python-nowcasting-utils.spec new file mode 100644 index 0000000..a91cc3a --- /dev/null +++ b/python-nowcasting-utils.spec @@ -0,0 +1,186 @@ +%global _empty_manifest_terminate_build 0 +Name: python-nowcasting-utils +Version: 0.0.42 +Release: 1 +Summary: Nowcasting Utilities +License: MIT +URL: https://github.com/openclimatefix/nowcasting_utils +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/52/f5ae1a5f8a2d4dfe7cc15c7aaea3a2df759ecafeb34ea0671043f83cdbac/nowcasting_utils-0.0.42.tar.gz +BuildArch: noarch + +Requires: python3-huggingface-hub +Requires: python3-einops +Requires: python3-pytest +Requires: python3-numpy +Requires: python3-tilemapbase +Requires: python3-plotly +Requires: python3-nowcasting-dataset +Requires: python3-nowcasting-dataloader +Requires: python3-pytorch-msssim +Requires: python3-torchvision +Requires: python3-pytorch-lightning +Requires: python3-neptune-client + +%description +# nowcasting_utils +<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> +[](#contributors-) +<!-- ALL-CONTRIBUTORS-BADGE:END --> + +[](https://codecov.io/gh/openclimatefix/nowcasting_api) + + +Common functionality between [SatFlow](https://github.com/openclimatefix/satflow) +and [predict_pv_yield](https://github.com/openclimatefix/predict_pv_yield) + + + +## Contributors ✨ + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + +<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> +<!-- prettier-ignore-start --> +<!-- markdownlint-disable --> +<table> + <tr> + <td align="center"><a href="https://github.com/peterdudfield"><img src="https://avatars.githubusercontent.com/u/34686298?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Peter Dudfield</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=peterdudfield" title="Code">💻</a></td> + <td align="center"><a href="http://jack-kelly.com"><img src="https://avatars.githubusercontent.com/u/460756?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jack Kelly</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=JackKelly" title="Code">💻</a></td> + <td align="center"><a href="https://www.jacobbieker.com"><img src="https://avatars.githubusercontent.com/u/7170359?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jacob Bieker</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=jacobbieker" title="Code">💻</a></td> + </tr> +</table> + +<!-- markdownlint-restore --> +<!-- prettier-ignore-end --> + +<!-- ALL-CONTRIBUTORS-LIST:END --> + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! + + +%package -n python3-nowcasting-utils +Summary: Nowcasting Utilities +Provides: python-nowcasting-utils +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-nowcasting-utils +# nowcasting_utils +<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> +[](#contributors-) +<!-- ALL-CONTRIBUTORS-BADGE:END --> + +[](https://codecov.io/gh/openclimatefix/nowcasting_api) + + +Common functionality between [SatFlow](https://github.com/openclimatefix/satflow) +and [predict_pv_yield](https://github.com/openclimatefix/predict_pv_yield) + + + +## Contributors ✨ + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + +<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> +<!-- prettier-ignore-start --> +<!-- markdownlint-disable --> +<table> + <tr> + <td align="center"><a href="https://github.com/peterdudfield"><img src="https://avatars.githubusercontent.com/u/34686298?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Peter Dudfield</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=peterdudfield" title="Code">💻</a></td> + <td align="center"><a href="http://jack-kelly.com"><img src="https://avatars.githubusercontent.com/u/460756?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jack Kelly</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=JackKelly" title="Code">💻</a></td> + <td align="center"><a href="https://www.jacobbieker.com"><img src="https://avatars.githubusercontent.com/u/7170359?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jacob Bieker</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=jacobbieker" title="Code">💻</a></td> + </tr> +</table> + +<!-- markdownlint-restore --> +<!-- prettier-ignore-end --> + +<!-- ALL-CONTRIBUTORS-LIST:END --> + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! + + +%package help +Summary: Development documents and examples for nowcasting-utils +Provides: python3-nowcasting-utils-doc +%description help +# nowcasting_utils +<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> +[](#contributors-) +<!-- ALL-CONTRIBUTORS-BADGE:END --> + +[](https://codecov.io/gh/openclimatefix/nowcasting_api) + + +Common functionality between [SatFlow](https://github.com/openclimatefix/satflow) +and [predict_pv_yield](https://github.com/openclimatefix/predict_pv_yield) + + + +## Contributors ✨ + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + +<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> +<!-- prettier-ignore-start --> +<!-- markdownlint-disable --> +<table> + <tr> + <td align="center"><a href="https://github.com/peterdudfield"><img src="https://avatars.githubusercontent.com/u/34686298?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Peter Dudfield</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=peterdudfield" title="Code">💻</a></td> + <td align="center"><a href="http://jack-kelly.com"><img src="https://avatars.githubusercontent.com/u/460756?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jack Kelly</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=JackKelly" title="Code">💻</a></td> + <td align="center"><a href="https://www.jacobbieker.com"><img src="https://avatars.githubusercontent.com/u/7170359?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jacob Bieker</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting_utils/commits?author=jacobbieker" title="Code">💻</a></td> + </tr> +</table> + +<!-- markdownlint-restore --> +<!-- prettier-ignore-end --> + +<!-- ALL-CONTRIBUTORS-LIST:END --> + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! + + +%prep +%autosetup -n nowcasting-utils-0.0.42 + +%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-nowcasting-utils -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.42-1 +- Package Spec generated @@ -0,0 +1 @@ +60e3d1a5961e030ef0ad49ca46a82f9e nowcasting_utils-0.0.42.tar.gz |
