diff --git a/MANIFEST.in b/MANIFEST.in index d1a1e4d..f96cb96 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,8 +1,14 @@ include LICENSE include MANIFEST.in -include *.yml +include *.yaml +include pyproject.toml +include *.md +include *.py +include *.txt +include Makefile +include tox.ini +include docs/*.rst docs/*.txt docs/*.py docs/Makefile graft src graft tests -graft docs -global-exluce *.pyc +global-exclude *.pyc prune docs/_build diff --git a/Makefile b/Makefile index 2400682..c71d4fb 100644 --- a/Makefile +++ b/Makefile @@ -47,11 +47,13 @@ endif .PHONY: build build: docs python -m build + twine check dist/* check-manifest + pyroma . + check-wheel-contents dist .PHONY: publish publish: porcelain branch build - twine check dist/* twine upload dist/* git tag -a v${VERSION} -m "Release ${VERSION}" git push origin --tags diff --git a/pyproject.toml b/pyproject.toml index 76089e0..34d0971 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ dependencies = [ "beautifulsoup4>=4.8.0", ] description = "Django extensions by Zostera" +keywords = ["django", "utilities", "testing"] license = {file = "LICENSE"} name = "django-marina" readme = "README.md" diff --git a/requirements-dev.txt b/requirements-dev.txt index fe5e589..25a27c2 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,3 +4,5 @@ twine==5.0.0 build==1.2.1 setuptools==69.5.1 check-manifest==0.49 +pyroma==4.2 +check-wheel-contents==0.6.0