diff --git a/Makefile b/Makefile index 094204c..cc71c15 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,6 @@ run: test: coverage run --source admin_confirm --branch -m pytest - coverage html - coverage-badge -f -o coverage.svg check-readme: python -m readme_renderer README.md -o /tmp/README.html diff --git a/README.md b/README.md index 39d898c..a9231c8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Django Admin Confirm [![PyPI](https://img.shields.io/pypi/v/django-admin-confirm?color=blue)](https://pypi.org/project/django-admin-confirm/) ![Tests Status](https://github.com/TrangPham/django-admin-confirm/actions/workflows/.github/workflows/test.yml/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/TrangPham/django-admin-confirm/badge.svg)](https://coveralls.io/github/TrangPham/django-admin-confirm) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-admin-confirm) ![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-admin-confirm) AdminConfirmMixin is a mixin for ModelAdmin to add confirmations to change, add and actions. diff --git a/coverage.svg b/coverage.svg deleted file mode 100644 index e5db27c..0000000 --- a/coverage.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - coverage - coverage - 100% - 100% - - diff --git a/requirements.txt b/requirements.txt index 90d3a1b..8df713b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ django-admin-confirm~=0.2.2 coverage~=5.4 pytest~=6.2.2 pytest-django~=4.1.0 -coverage-badge~=1.0.1 readme-renderer~=28.0 twine~=3.3.0 coveralls~=3.0.0 diff --git a/setup.py b/setup.py index 6f10507..85173a8 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ README = open(os.path.join(here, "README.md")).read() setup( name="django-admin-confirm", - version="0.2.3.dev1", + version="0.2.3.dev2", packages=["admin_confirm"], description="Adds confirmation to Django Admin changes, additions and actions", long_description_content_type="text/markdown", @@ -16,7 +16,7 @@ setup( url="https://github.com/trangpham/django-admin-confirm/", license="Apache 2.0", install_requires=[ - "Django>=1.7", + "Django>=2.2", ], python_requires=">=3", project_urls={ @@ -25,4 +25,13 @@ setup( # ISSUE-4: Ensure that package includes template and css folders # list files in MANIFEST.in include_package_data=True, + classifiers=[ + "Framework :: Django :: 2.2", + "Framework :: Django :: 3.0", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3 :: Only", + ], )