]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
makefile: update "dist" target to avoid setup.py
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Feb 2026 00:55:43 +0000 (19:55 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 18 Feb 2026 01:14:15 +0000 (20:14 -0500)
makefile

index 13b18cbc52cf09b3bf86b2b7fa8e38b373144b1d..4637b0651a8a2e5352a6acedce3caaaeddd88dc2 100644 (file)
--- 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