diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:48:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:48:25 +0000 |
commit | 918c99d2dd48a7a79c79f555b9447992a854156f (patch) | |
tree | b36a908fdf85bb9ac4247af520e8b7a877760e39 | |
parent | 884f356cca7df1f31703085328462d4a1b287033 (diff) |
automatic import of python-apio-djangoopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-apio-django.spec | 185 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 187 insertions, 0 deletions
@@ -0,0 +1 @@ +/apio_django-1.0.13.tar.gz diff --git a/python-apio-django.spec b/python-apio-django.spec new file mode 100644 index 0000000..7d3f8b7 --- /dev/null +++ b/python-apio-django.spec @@ -0,0 +1,185 @@ +%global _empty_manifest_terminate_build 0 +Name: python-apio-django +Version: 1.0.13 +Release: 1 +Summary: Application error & performance monitoring +License: MIT +URL: https://github.com/apio-monitor/apio_django +Source0: https://mirrors.aliyun.com/pypi/web/packages/16/47/1180832239d9861126892697c3ec4f00ad885281987fd7e6d10044709d21/apio_django-1.0.13.tar.gz +BuildArch: noarch + +Requires: python3-pathlib +Requires: python3-requests + +%description +#Project Description + +[*Currently only Django Framework supported*] + +Apio helps in monitoring of Applications. You can easily integrate(see setup below) it with your application and instantly start tracking errors and performance metrics. + + +##Setup + +Installation instructions: https://www.youtube.com/watch?v=tpx4mTuv0-0 + +1. Create an account on [Apio signup](https://apio.in/signup) + +2. Register an application on [Apio onboarding](https://apio.in/onboarding) + +3. Install Apio-django using pip + +`pip install apio-django` + +4. Add `apio-django` to your installed Apps in your `settings.py`. + +5. Add `apio_django.middleware.ApioMiddleware` to list of Middleware + +6. Add `application_key` received after you onboarded your application on step 2 in your `settings.py` + +`APIO_D = { "application_key": generated_application_key }` + +7. Thats it :) Now on any error you will receive an email on the registered email id and also you can see all the details of your application on the dashboard of [Apio](https://apio.in) + + +##Disclaimer +The Apio service is currently in beta testing phase. We don't take any responsbility of continued service or issues that may arise. + +##Contact (any queries) + +Email: apio.monitor@gmail.com + + + +%package -n python3-apio-django +Summary: Application error & performance monitoring +Provides: python-apio-django +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-apio-django +#Project Description + +[*Currently only Django Framework supported*] + +Apio helps in monitoring of Applications. You can easily integrate(see setup below) it with your application and instantly start tracking errors and performance metrics. + + +##Setup + +Installation instructions: https://www.youtube.com/watch?v=tpx4mTuv0-0 + +1. Create an account on [Apio signup](https://apio.in/signup) + +2. Register an application on [Apio onboarding](https://apio.in/onboarding) + +3. Install Apio-django using pip + +`pip install apio-django` + +4. Add `apio-django` to your installed Apps in your `settings.py`. + +5. Add `apio_django.middleware.ApioMiddleware` to list of Middleware + +6. Add `application_key` received after you onboarded your application on step 2 in your `settings.py` + +`APIO_D = { "application_key": generated_application_key }` + +7. Thats it :) Now on any error you will receive an email on the registered email id and also you can see all the details of your application on the dashboard of [Apio](https://apio.in) + + +##Disclaimer +The Apio service is currently in beta testing phase. We don't take any responsbility of continued service or issues that may arise. + +##Contact (any queries) + +Email: apio.monitor@gmail.com + + + +%package help +Summary: Development documents and examples for apio-django +Provides: python3-apio-django-doc +%description help +#Project Description + +[*Currently only Django Framework supported*] + +Apio helps in monitoring of Applications. You can easily integrate(see setup below) it with your application and instantly start tracking errors and performance metrics. + + +##Setup + +Installation instructions: https://www.youtube.com/watch?v=tpx4mTuv0-0 + +1. Create an account on [Apio signup](https://apio.in/signup) + +2. Register an application on [Apio onboarding](https://apio.in/onboarding) + +3. Install Apio-django using pip + +`pip install apio-django` + +4. Add `apio-django` to your installed Apps in your `settings.py`. + +5. Add `apio_django.middleware.ApioMiddleware` to list of Middleware + +6. Add `application_key` received after you onboarded your application on step 2 in your `settings.py` + +`APIO_D = { "application_key": generated_application_key }` + +7. Thats it :) Now on any error you will receive an email on the registered email id and also you can see all the details of your application on the dashboard of [Apio](https://apio.in) + + +##Disclaimer +The Apio service is currently in beta testing phase. We don't take any responsbility of continued service or issues that may arise. + +##Contact (any queries) + +Email: apio.monitor@gmail.com + + + +%prep +%autosetup -n apio_django-1.0.13 + +%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-apio-django -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.13-1 +- Package Spec generated @@ -0,0 +1 @@ +1b5d9dd8b4a55b24ebd7e6226ee83f14 apio_django-1.0.13.tar.gz |