diff Makefile @ 397:c033f4072c14

FIX: _postprocess-sdist now works for compressed archives and configuration in pyproject.toml. While there: adjusted the Makefile accordingly.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 16 Feb 2026 15:22:37 +0100
parents bbfcdbd75bfe
children 669dd560f21a
line wrap: on
line diff
--- a/Makefile	Mon Feb 16 15:16:18 2026 +0100
+++ b/Makefile	Mon Feb 16 15:22:37 2026 +0100
@@ -1,6 +1,6 @@
 # dev and build helper
 # :-
-# SPDX-FileCopyrightText: © 2025 Franz Glasner
+# SPDX-FileCopyrightText: © 2025-2026 Franz Glasner
 # SPDX-License-Identifier: BSD-3-Clause
 # :-
 
@@ -17,13 +17,12 @@
 	hg kwarchive __arch
 
 build:
-	python setup.py sdist bdist_wheel
+	python -m build
 	python _postprocess-sdist.py
-	gzip dist/*tar
 
 distclean: clean
 # package build information
-	rm -rf build/ dist/ src/*.egg-info
+	rm -rf dist/ src/*.egg-info
 
 # Full clean build for sdist, wheel and docs
 dist: distclean build