diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index ffed6838..8103e7e8 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -27,3 +27,7 @@ jobs: run: | ruff check --output-format=github . ruff format --check + + - name: Check manifest + run: | + check-manifest diff --git a/MANIFEST.in b/MANIFEST.in index db769fc2..5ffe2063 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,9 +1,21 @@ -exclude powa/templates/ +# Exclude all dot files and dot directories +exclude .* +recursive-exclude .* * + +exclude vite.config.js +exclude *.json + +recursive-exclude powa/static/js * +recursive-exclude powa/static/styles * recursive-include powa/templates *.html recursive-include powa/static/css * recursive-include powa/static/img * -include powa/static/js/powa.min-all.js -include powa/static/js/config.js -include powa/static/js/require.js +recursive-include powa/static/dist * include powa/powa.wsgi include powa-web.conf-dist +include run_powa.py + +include *.md +include *.txt +include CHANGELOG +include readme diff --git a/requirements-dev.txt b/requirements-dev.txt index 25d0388c..2718270c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,2 +1,3 @@ -r requirements.txt ruff --only-binary=ruff +check-manifest