summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-deepforest.spec184
-rw-r--r--sources1
3 files changed, 186 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..679ea36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/deepforest-1.2.7.tar.gz
diff --git a/python-deepforest.spec b/python-deepforest.spec
new file mode 100644
index 0000000..3574822
--- /dev/null
+++ b/python-deepforest.spec
@@ -0,0 +1,184 @@
+%global _empty_manifest_terminate_build 0
+Name: python-deepforest
+Version: 1.2.7
+Release: 1
+Summary: Tree crown prediction using deep learning retinanets
+License: MIT
+URL: https://github.com/Weecology/DeepForest
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fa/75/8940965efa5b4db66c8385c25447f23bbb181ebc5f076bfdf26e0d5e9eee/deepforest-1.2.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-torch
+Requires: python3-torchvision
+Requires: python3-matplotlib
+Requires: python3-Pillow
+Requires: python3-pandas
+Requires: python3-progressbar2
+Requires: python3-six
+Requires: python3-scipy
+Requires: python3-slidingwindow
+Requires: python3-geopandas
+Requires: python3-rasterio
+Requires: python3-rtree
+Requires: python3-pytorch-lightning
+Requires: python3-tqdm
+Requires: python3-xmltodict
+Requires: python3-numpy
+Requires: python3-imagecodecs
+Requires: python3-albumentations
+Requires: python3-opencv-python
+
+%description
+
+# Deepforest
+
+## Full documentation
+[http://deepforest.readthedocs.io/en/latest/](http://deepforest.readthedocs.io/en/latest/)
+
+## Installation
+
+Compiled wheels have been made for linux, osx and windows
+
+```
+#Install DeepForest
+pip install deepforest
+```
+
+## Get in touch
+See the [GitHub Repo](https://github.com/Weecology/DeepForest) to see the
+source code or submit issues and feature requests.
+
+## Citation
+If you use this software in your research please cite it as:
+
+Geographic Generalization in Airborne RGB Deep Learning Tree Detection
+Ben. G. Weinstein, Sergio Marconi, Stephanie A. Bohlman, Alina Zare, Ethan P. White
+bioRxiv 790071; doi: https://doi.org/10.1101/790071
+
+
+## Acknowledgments
+Development of this software was funded by
+[the Gordon and Betty Moore Foundation's Data-Driven Discovery Initiative](http://www.moore.org/programs/science/data-driven-discovery) through
+[Grant GBMF4563](http://www.moore.org/grants/list/GBMF4563) to Ethan P. White.
+
+
+%package -n python3-deepforest
+Summary: Tree crown prediction using deep learning retinanets
+Provides: python-deepforest
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-deepforest
+
+# Deepforest
+
+## Full documentation
+[http://deepforest.readthedocs.io/en/latest/](http://deepforest.readthedocs.io/en/latest/)
+
+## Installation
+
+Compiled wheels have been made for linux, osx and windows
+
+```
+#Install DeepForest
+pip install deepforest
+```
+
+## Get in touch
+See the [GitHub Repo](https://github.com/Weecology/DeepForest) to see the
+source code or submit issues and feature requests.
+
+## Citation
+If you use this software in your research please cite it as:
+
+Geographic Generalization in Airborne RGB Deep Learning Tree Detection
+Ben. G. Weinstein, Sergio Marconi, Stephanie A. Bohlman, Alina Zare, Ethan P. White
+bioRxiv 790071; doi: https://doi.org/10.1101/790071
+
+
+## Acknowledgments
+Development of this software was funded by
+[the Gordon and Betty Moore Foundation's Data-Driven Discovery Initiative](http://www.moore.org/programs/science/data-driven-discovery) through
+[Grant GBMF4563](http://www.moore.org/grants/list/GBMF4563) to Ethan P. White.
+
+
+%package help
+Summary: Development documents and examples for deepforest
+Provides: python3-deepforest-doc
+%description help
+
+# Deepforest
+
+## Full documentation
+[http://deepforest.readthedocs.io/en/latest/](http://deepforest.readthedocs.io/en/latest/)
+
+## Installation
+
+Compiled wheels have been made for linux, osx and windows
+
+```
+#Install DeepForest
+pip install deepforest
+```
+
+## Get in touch
+See the [GitHub Repo](https://github.com/Weecology/DeepForest) to see the
+source code or submit issues and feature requests.
+
+## Citation
+If you use this software in your research please cite it as:
+
+Geographic Generalization in Airborne RGB Deep Learning Tree Detection
+Ben. G. Weinstein, Sergio Marconi, Stephanie A. Bohlman, Alina Zare, Ethan P. White
+bioRxiv 790071; doi: https://doi.org/10.1101/790071
+
+
+## Acknowledgments
+Development of this software was funded by
+[the Gordon and Betty Moore Foundation's Data-Driven Discovery Initiative](http://www.moore.org/programs/science/data-driven-discovery) through
+[Grant GBMF4563](http://www.moore.org/grants/list/GBMF4563) to Ethan P. White.
+
+
+%prep
+%autosetup -n deepforest-1.2.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-deepforest -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5fa53d2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cfbd2dfc050fa4f22c63732210900642 deepforest-1.2.7.tar.gz