diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 64f63add57f..44f5c8806ad 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -712,6 +712,7 @@ class Distribution: return command command.initialize_options() command.finalized = 0 + self.have_run[command_name] = 0 self._set_command_options(command) return command