%global _empty_manifest_terminate_build 0 Name: python-ladybug-rhino Version: 1.39.12 Release: 1 Summary: A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. License: AGPL-3.0 URL: https://github.com/ladybug-tools/ladybug-rhino Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/e0/683148551109ef4ba3d7598069e23090d309dbb96f280f977080a630abdc/ladybug-rhino-1.39.12.tar.gz BuildArch: noarch Requires: python3-ladybug-display %description ![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) # ladybug-rhino A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. This library is used by both the Grasshopper and Rhino plugins to communicate with the ladybug core Python library. Note that this library has dependencies on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. ## Installation `pip install -U ladybug-rhino` To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! ## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) ## Local Development 1. Clone this repo locally ```python git clone git@github.com:ladybug-tools/ladybug-rhino # or git clone https://github.com/ladybug-tools/ladybug-rhino ``` 2. Install dependencies ```console cd ladybug-rhino pip install -r dev-requirements.txt pip install -r requirements.txt pip install pythonnet pip install rhinoinside ``` 3. Generate Documentation ```console sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino sphinx-build -b html ./docs ./docs/_build/docs ``` %package -n python3-ladybug-rhino Summary: A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. Provides: python-ladybug-rhino BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-ladybug-rhino ![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) # ladybug-rhino A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. This library is used by both the Grasshopper and Rhino plugins to communicate with the ladybug core Python library. Note that this library has dependencies on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. ## Installation `pip install -U ladybug-rhino` To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! ## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) ## Local Development 1. Clone this repo locally ```python git clone git@github.com:ladybug-tools/ladybug-rhino # or git clone https://github.com/ladybug-tools/ladybug-rhino ``` 2. Install dependencies ```console cd ladybug-rhino pip install -r dev-requirements.txt pip install -r requirements.txt pip install pythonnet pip install rhinoinside ``` 3. Generate Documentation ```console sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino sphinx-build -b html ./docs ./docs/_build/docs ``` %package help Summary: Development documents and examples for ladybug-rhino Provides: python3-ladybug-rhino-doc %description help ![Build Status](https://github.com/ladybug-tools/ladybug-rhino/workflows/CI/badge.svg) [![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) # ladybug-rhino A library for communicating between Ladybug Tools core libraries and Rhinoceros CAD. This library is used by both the Grasshopper and Rhino plugins to communicate with the ladybug core Python library. Note that this library has dependencies on Rhino SDK and Grasshopper SDK and is intended to contain all of such dependencies for the LBT-Grasshopper plugin. It is NOT intended to be run with cPython with the exceptions of running the CLI or when used with the cPython capabilities in Rhino 8. ## Installation `pip install -U ladybug-rhino` To check if Ladybug Rhino command line is installed correctly try `ladybug-rhino viz` and you should get a `viiiiiiiiiiiiizzzzzzzzz!` back in response! ## [API Documentation](http://ladybug-tools.github.io/ladybug-rhino/docs/) ## Local Development 1. Clone this repo locally ```python git clone git@github.com:ladybug-tools/ladybug-rhino # or git clone https://github.com/ladybug-tools/ladybug-rhino ``` 2. Install dependencies ```console cd ladybug-rhino pip install -r dev-requirements.txt pip install -r requirements.txt pip install pythonnet pip install rhinoinside ``` 3. Generate Documentation ```console sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_rhino sphinx-build -b html ./docs ./docs/_build/docs ``` %prep %autosetup -n ladybug-rhino-1.39.12 %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-ladybug-rhino -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 25 2023 Python_Bot - 1.39.12-1 - Package Spec generated