Skip to content

Commit

Permalink
Add checks for build result
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve committed Apr 17, 2024
1 parent cbcfcc1 commit ab9c217
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
12 changes: 9 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ab9c217

Please sign in to comment.