diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-criteo-marketing-transition.spec | 162 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 164 insertions, 0 deletions
@@ -0,0 +1 @@ +/criteo_marketing_transition-1.0.3.tar.gz diff --git a/python-criteo-marketing-transition.spec b/python-criteo-marketing-transition.spec new file mode 100644 index 0000000..b0d86bc --- /dev/null +++ b/python-criteo-marketing-transition.spec @@ -0,0 +1,162 @@ +%global _empty_manifest_terminate_build 0 +Name: python-criteo-marketing-transition +Version: 1.0.3 +Release: 1 +Summary: Criteo Marketing Transition SDK +License: Apache Software License +URL: https://github.com/criteo/criteo-python-marketing-transition-sdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/c4/796f5240804eb673050ead70ac3b0e5bfce47f99b60467560b013d31e7e0/criteo_marketing_transition-1.0.3.tar.gz +BuildArch: noarch + + +%description +# Criteo Marketing Transition SDK for Python +[](https://pypi.org/project/criteo-marketing-transition/) + +IMPORTANT: This Python package links to Criteo production environment. Any test applied here will thus impact real data. + +## Requirements. + +Python 2.7 and 3.5+ + +## Installation & Usage +### pip install + + +```sh +pip install criteo_marketing_transition +``` +(you may need to run `pip` with root permission: `sudo pip install criteo_marketing_transition`) + +Then import the package: +```python +import criteo_marketing_transition +``` + +Full documentation on [Github](https://github.com/criteo/criteo-python-marketing-transition-sdk). + +## Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +%package -n python3-criteo-marketing-transition +Summary: Criteo Marketing Transition SDK +Provides: python-criteo-marketing-transition +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-criteo-marketing-transition +# Criteo Marketing Transition SDK for Python +[](https://pypi.org/project/criteo-marketing-transition/) + +IMPORTANT: This Python package links to Criteo production environment. Any test applied here will thus impact real data. + +## Requirements. + +Python 2.7 and 3.5+ + +## Installation & Usage +### pip install + + +```sh +pip install criteo_marketing_transition +``` +(you may need to run `pip` with root permission: `sudo pip install criteo_marketing_transition`) + +Then import the package: +```python +import criteo_marketing_transition +``` + +Full documentation on [Github](https://github.com/criteo/criteo-python-marketing-transition-sdk). + +## Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +%package help +Summary: Development documents and examples for criteo-marketing-transition +Provides: python3-criteo-marketing-transition-doc +%description help +# Criteo Marketing Transition SDK for Python +[](https://pypi.org/project/criteo-marketing-transition/) + +IMPORTANT: This Python package links to Criteo production environment. Any test applied here will thus impact real data. + +## Requirements. + +Python 2.7 and 3.5+ + +## Installation & Usage +### pip install + + +```sh +pip install criteo_marketing_transition +``` +(you may need to run `pip` with root permission: `sudo pip install criteo_marketing_transition`) + +Then import the package: +```python +import criteo_marketing_transition +``` + +Full documentation on [Github](https://github.com/criteo/criteo-python-marketing-transition-sdk). + +## Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +%prep +%autosetup -n criteo-marketing-transition-1.0.3 + +%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-criteo-marketing-transition -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.3-1 +- Package Spec generated @@ -0,0 +1 @@ +fdbdd2b3281965456d1527b0f6921904 criteo_marketing_transition-1.0.3.tar.gz |