diff --git a/makefile-pypi.mk b/makefile-pypi.mk index e4a16e9..1aa9553 100644 --- a/makefile-pypi.mk +++ b/makefile-pypi.mk @@ -5,17 +5,17 @@ twine: pip install -U twine +.PHONY: dist + dist: - python setup.py sdist bdist_wheel + pip install -q build + python -m build twine check dist/* ndist: pip install -q build python -m build -npatch: - python -m twine upload --repository testpypi dist/* - patch: clean twine $(call banner, "patch") pip install -r requirements-dev.txt @@ -24,7 +24,6 @@ patch: clean twine git commit -m "bump version ${VERSION}" .; git push pip install -q build python -m build - git push origin main --tags twine check dist/* twine upload --repository testpypi dist/*