Mercurial > hgrepos > Python > apps > py-cutils
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 396:1afe2758f802 | 397:c033f4072c14 |
|---|---|
| 1 # dev and build helper | 1 # dev and build helper |
| 2 # :- | 2 # :- |
| 3 # SPDX-FileCopyrightText: © 2025 Franz Glasner | 3 # SPDX-FileCopyrightText: © 2025-2026 Franz Glasner |
| 4 # SPDX-License-Identifier: BSD-3-Clause | 4 # SPDX-License-Identifier: BSD-3-Clause |
| 5 # :- | 5 # :- |
| 6 | 6 |
| 7 .PHONY: help clean export-for-dist build distclean dist | 7 .PHONY: help clean export-for-dist build distclean dist |
| 8 | 8 |
| 15 | 15 |
| 16 export-for-dist: clean | 16 export-for-dist: clean |
| 17 hg kwarchive __arch | 17 hg kwarchive __arch |
| 18 | 18 |
| 19 build: | 19 build: |
| 20 python setup.py sdist bdist_wheel | 20 python -m build |
| 21 python _postprocess-sdist.py | 21 python _postprocess-sdist.py |
| 22 gzip dist/*tar | |
| 23 | 22 |
| 24 distclean: clean | 23 distclean: clean |
| 25 # package build information | 24 # package build information |
| 26 rm -rf build/ dist/ src/*.egg-info | 25 rm -rf dist/ src/*.egg-info |
| 27 | 26 |
| 28 # Full clean build for sdist, wheel and docs | 27 # Full clean build for sdist, wheel and docs |
| 29 dist: distclean build | 28 dist: distclean build |
