From: Stuart Prescott Date: Mon, 11 May 2026 15:10:53 +1000 Subject: Add compatibility shim for old clean command/pybuild --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8bda9bf..c0b4ce3 100644 --- a/setup.py +++ b/setup.py @@ -111,10 +111,14 @@ class LlvmliteInstall(install): class LlvmliteClean(Command): """Custom clean command to tidy up the project root.""" + user_options = [ + ('all', 'a', '(Compatibility with original clean command)'), + ] + # Required to implement but there don't appear to be any relevant flags # for this command, so do nothing def initialize_options(self) -> None: - pass + self.all = False # Required to implement but there don't appear to be any relevant flags # for this command, so do nothing