Mercurial > hgrepos > Python > apps > py-cutils
view 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 source
# dev and build helper # :- # SPDX-FileCopyrightText: © 2025-2026 Franz Glasner # SPDX-License-Identifier: BSD-3-Clause # :- .PHONY: help clean export-for-dist build distclean dist help: @echo Targets: clean, export-for-dist, build, distclean and dist clean: rm -rf __arch/ find . -name '*.pyc' -delete export-for-dist: clean hg kwarchive __arch build: python -m build python _postprocess-sdist.py distclean: clean # package build information rm -rf dist/ src/*.egg-info # Full clean build for sdist, wheel and docs dist: distclean build
