From b1df835f465d41261efdfb098c95e4a704e9ce11 Mon Sep 17 00:00:00 2001 From: zerolab Date: Sun, 11 Feb 2024 18:30:19 +0000 Subject: [PATCH] Tweak the Make clean command to prune .tox --- MANIFEST.in | 10 ---------- Makefile | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 1b397f98..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,10 +0,0 @@ -global-exclude *.py[cod] __pycache__ .DS_Store -prune __pycache__ -prune tests -prune venv .venv -prune .tox -graft src/wagtailmedia -include LICENSE *.md -include pyproject.toml .editorconfig -exclude .pre-commit-config.yaml .coveragerc codecov.yml tox.ini -exclude manage.py runtests.py db.sqlite3 Makefile diff --git a/Makefile b/Makefile index 42ec8b9f..fee3df8a 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ help: ## ⁉️ - Display help comments for each make command clean: ## 🗑️ - Removes pycache and test media @echo "🗑️ - Removing __pycache__ and test artifacts" - rm -rf test-media test-static - find . -name ".tox" -prune -o -type d -name "__pycache__" -exec rm -r {} + + rm -rf test-media test-static .tox + find . -type d -name "__pycache__" -exec rm -r {} + package-setup: @echo "📦 - Packaging for PyPI"