Skip to content

Commit

Permalink
deps: drop twine, upd dependencies
Browse files Browse the repository at this point in the history
Twine is not needed anymore after migrating readme to markdown.
  • Loading branch information
pavdmyt committed Oct 19, 2024
1 parent 858b836 commit dc997d1
Show file tree
Hide file tree
Showing 4 changed files with 517 additions and 1,072 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,13 @@ coverage: clean-pyc
rm-build:
@rm -rf build dist .egg $(name).egg-info

.PHONY: check-rst
check-rst:
@echo "$(OK_COLOR)==> Checking RST will render...$(NO_COLOR)"
@poetry run twine check dist/*

.PHONY: build
build: rm-build
@echo "$(OK_COLOR)==> Building...$(NO_COLOR)"
@poetry build

.PHONY: publish
publish: flake build check-rst
publish: flake build
@echo "$(OK_COLOR)==> Publishing...$(NO_COLOR)"
@poetry publish -u $(pypi_usr) -p $(pypi_pwd)

Expand Down
Loading

0 comments on commit dc997d1

Please sign in to comment.