Skip to content

Commit

Permalink
fix(ISSUE-4): pip install missing templates (#5)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
TrangPham and Thu Trang Pham authored Jan 21, 2021
1 parent ea1e882 commit 591aa48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
include *.rst
recursive-include admin-confirm/*
recursive-include admin-confirm *
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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",
Expand All @@ -22,4 +22,8 @@
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,

)

0 comments on commit 591aa48

Please sign in to comment.