Add classifiers to setup and version badges to readme
parent
758564f668
commit
5b93ed5eb7
2
Makefile
2
Makefile
|
|
@ -3,8 +3,6 @@ run:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
coverage run --source admin_confirm --branch -m pytest
|
coverage run --source admin_confirm --branch -m pytest
|
||||||
coverage html
|
|
||||||
coverage-badge -f -o coverage.svg
|
|
||||||
|
|
||||||
check-readme:
|
check-readme:
|
||||||
python -m readme_renderer README.md -o /tmp/README.html
|
python -m readme_renderer README.md -o /tmp/README.html
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
# Django Admin Confirm
|
# Django Admin Confirm
|
||||||
|
|
||||||
[](https://pypi.org/project/django-admin-confirm/)  [](https://coveralls.io/github/TrangPham/django-admin-confirm)
|
[](https://pypi.org/project/django-admin-confirm/)  [](https://coveralls.io/github/TrangPham/django-admin-confirm)
|
||||||
|
 
|
||||||
|
|
||||||
AdminConfirmMixin is a mixin for ModelAdmin to add confirmations to change, add and actions.
|
AdminConfirmMixin is a mixin for ModelAdmin to add confirmations to change, add and actions.
|
||||||
|
|
||||||
|
|
|
||||||
21
coverage.svg
21
coverage.svg
|
|
@ -1,21 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="99" height="20">
|
|
||||||
<linearGradient id="b" x2="0" y2="100%">
|
|
||||||
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
|
|
||||||
<stop offset="1" stop-opacity=".1"/>
|
|
||||||
</linearGradient>
|
|
||||||
<mask id="a">
|
|
||||||
<rect width="99" height="20" rx="3" fill="#fff"/>
|
|
||||||
</mask>
|
|
||||||
<g mask="url(#a)">
|
|
||||||
<path fill="#555" d="M0 0h63v20H0z"/>
|
|
||||||
<path fill="#4c1" d="M63 0h36v20H63z"/>
|
|
||||||
<path fill="url(#b)" d="M0 0h99v20H0z"/>
|
|
||||||
</g>
|
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
|
||||||
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
|
|
||||||
<text x="31.5" y="14">coverage</text>
|
|
||||||
<text x="80" y="15" fill="#010101" fill-opacity=".3">100%</text>
|
|
||||||
<text x="80" y="14">100%</text>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 903 B |
|
|
@ -4,7 +4,6 @@ django-admin-confirm~=0.2.2
|
||||||
coverage~=5.4
|
coverage~=5.4
|
||||||
pytest~=6.2.2
|
pytest~=6.2.2
|
||||||
pytest-django~=4.1.0
|
pytest-django~=4.1.0
|
||||||
coverage-badge~=1.0.1
|
|
||||||
readme-renderer~=28.0
|
readme-renderer~=28.0
|
||||||
twine~=3.3.0
|
twine~=3.3.0
|
||||||
coveralls~=3.0.0
|
coveralls~=3.0.0
|
||||||
|
|
|
||||||
13
setup.py
13
setup.py
|
|
@ -6,7 +6,7 @@ README = open(os.path.join(here, "README.md")).read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="django-admin-confirm",
|
name="django-admin-confirm",
|
||||||
version="0.2.3.dev1",
|
version="0.2.3.dev2",
|
||||||
packages=["admin_confirm"],
|
packages=["admin_confirm"],
|
||||||
description="Adds confirmation to Django Admin changes, additions and actions",
|
description="Adds confirmation to Django Admin changes, additions and actions",
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|
@ -16,7 +16,7 @@ setup(
|
||||||
url="https://github.com/trangpham/django-admin-confirm/",
|
url="https://github.com/trangpham/django-admin-confirm/",
|
||||||
license="Apache 2.0",
|
license="Apache 2.0",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Django>=1.7",
|
"Django>=2.2",
|
||||||
],
|
],
|
||||||
python_requires=">=3",
|
python_requires=">=3",
|
||||||
project_urls={
|
project_urls={
|
||||||
|
|
@ -25,4 +25,13 @@ setup(
|
||||||
# ISSUE-4: Ensure that package includes template and css folders
|
# ISSUE-4: Ensure that package includes template and css folders
|
||||||
# list files in MANIFEST.in
|
# list files in MANIFEST.in
|
||||||
include_package_data=True,
|
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",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue