From c9b8c7b98f3fff97964422943f57d02dad33c9e3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 09:32:10 +0000 Subject: automatic import of python-cognite-geospatial-sdk --- python-cognite-geospatial-sdk.spec | 133 +++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 python-cognite-geospatial-sdk.spec (limited to 'python-cognite-geospatial-sdk.spec') diff --git a/python-cognite-geospatial-sdk.spec b/python-cognite-geospatial-sdk.spec new file mode 100644 index 0000000..cd6f1b6 --- /dev/null +++ b/python-cognite-geospatial-sdk.spec @@ -0,0 +1,133 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cognite-geospatial-sdk +Version: 0.10.4 +Release: 1 +Summary: Cognite Geospatial SDK store and query spatial objects in 2D and 3D space +License: Apache-2.0 +URL: https://pypi.org/project/cognite-geospatial-sdk/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b4/31/6d96a4ffc448b9bc3323d32ffd8d4c102a413a28505220a98e28f7f47cbb/cognite-geospatial-sdk-0.10.4.tar.gz +BuildArch: noarch + +Requires: python3-cognite-sdk-core +Requires: python3-holoviews +Requires: python3-numpy +Requires: python3-pyarrow +Requires: python3-dateutil +Requires: python3-requests-oauthlib +Requires: python3-scipy +Requires: python3-shapely +Requires: python3-six +Requires: python3-urllib3 + +%description +[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/) +### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js). +Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF). +# Python +A Python Geospatial SDK for the geospatial API. +## Prerequisites +In order to start using the Python SDK, you need +- Python3 (>= 3.5) and pip +- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key. +This is how you set the API key as an environment variable on Mac OS and Linux: +```bash +$ export COGNITE_API_KEY= +``` +## Installation +To install this package: +```bash +$ pip install cognite-geospatial-sdk +``` + +%package -n python3-cognite-geospatial-sdk +Summary: Cognite Geospatial SDK store and query spatial objects in 2D and 3D space +Provides: python-cognite-geospatial-sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cognite-geospatial-sdk +[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/) +### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js). +Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF). +# Python +A Python Geospatial SDK for the geospatial API. +## Prerequisites +In order to start using the Python SDK, you need +- Python3 (>= 3.5) and pip +- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key. +This is how you set the API key as an environment variable on Mac OS and Linux: +```bash +$ export COGNITE_API_KEY= +``` +## Installation +To install this package: +```bash +$ pip install cognite-geospatial-sdk +``` + +%package help +Summary: Development documents and examples for cognite-geospatial-sdk +Provides: python3-cognite-geospatial-sdk-doc +%description help +[![PyPI version](https://badge.fury.io/py/cognite-geospatial-sdk.svg)](https://pypi.org/project/cognite-geospatial-sdk/) +### Development on this repository is discontinued. Please look at [Cognite Python SDK](https://github.com/cognitedata/cognite-sdk-python) and [Cognite JS SDK](https://github.com/cognitedata/cognite-sdk-js). +Cognite Geospatial SDK for developers and data scientists working with Cognite Data Fusion (CDF). +# Python +A Python Geospatial SDK for the geospatial API. +## Prerequisites +In order to start using the Python SDK, you need +- Python3 (>= 3.5) and pip +- An API key. Never include the API key directly in the code or upload the key to github. Instead, set the API key as an environment variable. See the usage example for how to authenticate with the API key. +This is how you set the API key as an environment variable on Mac OS and Linux: +```bash +$ export COGNITE_API_KEY= +``` +## Installation +To install this package: +```bash +$ pip install cognite-geospatial-sdk +``` + +%prep +%autosetup -n cognite-geospatial-sdk-0.10.4 + +%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-cognite-geospatial-sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 0.10.4-1 +- Package Spec generated -- cgit v1.2.3