changeset 52705:38b5bf824794

make: stop using setup.py clean (deprecated) Direct calls of setup.py should not be used. There is no equivalent to setup.py clean with PEP 517 frontends. We have to delete what we want ourself.
author Pierre Augier <pierre.augier@univ-grenoble-alpes.fr>
date Thu, 23 Jan 2025 08:50:22 +0100
parents 6061c9b8e318
children 9ff926737dbc
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jan 14 11:08:09 2025 +0100
+++ b/Makefile	Thu Jan 23 08:50:22 2025 +0100
@@ -83,7 +83,7 @@
 
 cleanbutpackages:
 	rm -f hg.exe
-	-$(PYTHON) setup.py clean --all # ignore errors from this command
+	rm -rf mercurial.egg-info dist
 	find contrib doc hgext hgext3rd i18n mercurial tests hgdemandimport \
 		\( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
 	rm -rf .venv_*