Skip to content

Commit 591aa48

Browse files
TrangPhamThu Trang Pham
andauthored
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>
1 parent ea1e882 commit 591aa48

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

MANIFEST.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
include *.rst
2-
recursive-include admin-confirm/*
1+
recursive-include admin-confirm *

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ package:
2222

2323
upload-testpypi:
2424
python3 -m twine upload --repository testpypi dist/django_admin_confirm-$(VERSION)*
25+
26+
i-have-tested-with-testpypi-and-am-ready-to-release:
27+
python3 -m twine upload --repository pypi dist/django_admin_confirm-$(VERSION)*

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="django-admin-confirm",
9-
version="0.2",
9+
version="0.2.1",
1010
packages=["admin_confirm"],
1111
description="Adds confirmation to Django Admin changes, additions and actions",
1212
long_description_content_type="text/markdown",
@@ -22,4 +22,8 @@
2222
project_urls={
2323
"Release Notes": "https://github.com/TrangPham/django-admin-confirm/releases",
2424
},
25+
# ISSUE-4: Ensure that package includes template and css folders
26+
# list files in MANIFEST.in
27+
include_package_data=True,
28+
2529
)

0 commit comments

Comments
 (0)