Mercurial > hgrepos > Python > apps > py-cutils
view Makefile @ 406:deabdfed3b96
For current Python versions use an intree build backend that wraps setuptools.build_meta.
Augmenting the generated sdist archive is now done automatically.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 17 Feb 2026 16:15:31 +0100 |
| parents | da99ab6eda08 |
| children | d3429477cd55 |
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 # NOTE: Postprocessing is now done by the intree build backend # in intree-build-helper/cutils_build.py. distclean: clean # package build information rm -rf dist/ *.egg-info # Full clean build for sdist, wheel and docs dist: distclean build
