fix(ISSUE-4): pip install missing templates (#5)
* feat(ISSUE-4): fix(ISSUE-4): missing template and css files in package * feat(ISSUE-4): chore: add makefile command to upload to pypi Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>main
parent
ea1e882f32
commit
591aa48ba0
|
|
@ -1,2 +1 @@
|
|||
include *.rst
|
||||
recursive-include admin-confirm/*
|
||||
recursive-include admin-confirm *
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -22,3 +22,6 @@ package:
|
|||
|
||||
upload-testpypi:
|
||||
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
|
||||
|
||||
i-have-tested-with-testpypi-and-am-ready-to-release:
|
||||
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*
|
||||
|
|
|
|||
6
setup.py
6
setup.py
|
|
@ -6,7 +6,7 @@ README = open(os.path.join(here, "README.md")).read()
|
|||
|
||||
setup(
|
||||
name="django-admin-confirm",
|
||||
version="0.2",
|
||||
version="0.2.1",
|
||||
packages=["admin_confirm"],
|
||||
description="Adds confirmation to Django Admin changes, additions and actions",
|
||||
long_description_content_type="text/markdown",
|
||||
|
|
@ -22,4 +22,8 @@ setup(
|
|||
project_urls={
|
||||
"Release Notes": "https://github.com/TrangPham/django-admin-confirm/releases",
|
||||
},
|
||||
# ISSUE-4: Ensure that package includes template and css folders
|
||||
# list files in MANIFEST.in
|
||||
include_package_data=True,
|
||||
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue