From: Michael Orlitzky Date: Wed, 18 Feb 2026 00:55:43 +0000 (-0500) Subject: makefile: update "dist" target to avoid setup.py X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=37336a63d98753fe96321a94fc279d8fd1e8c2bf;p=dunshire.git makefile: update "dist" target to avoid setup.py --- diff --git a/makefile b/makefile index 13b18cb..4637b06 100644 --- a/makefile +++ b/makefile @@ -45,11 +45,11 @@ lint: # the source files. .PHONY: dist dist: clean doc - python setup.py sdist + python -m build --sdist --no-isolation --skip-dependency-check # Delete urrythang. .PHONY: clean clean: rm -rf $(PN)/__pycache__ test/__pycache__ doc/build - rm -rf $(PN).egg-info + rm -rf $(PN)/$(PN).egg-info rm -rf dist