%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](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
[![codecov](https://codecov.io/gh/openclimatefix/nowcasting_utils/branch/main/graph/badge.svg?token=JQFI9C86GL)](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)):
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](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
[![codecov](https://codecov.io/gh/openclimatefix/nowcasting_utils/branch/main/graph/badge.svg?token=JQFI9C86GL)](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)):
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](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
[![codecov](https://codecov.io/gh/openclimatefix/nowcasting_utils/branch/main/graph/badge.svg?token=JQFI9C86GL)](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)):
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 - 0.0.42-1
- Package Spec generated