diff -r 2d3b599c85b1 -r ccd14067e6a2 PyInstallerInterface/PyInstallerCleanupDialog.py --- a/PyInstallerInterface/PyInstallerCleanupDialog.py Thu Dec 30 11:55:51 2021 +0100 +++ b/PyInstallerInterface/PyInstallerCleanupDialog.py Wed Sep 21 16:45:00 2022 +0200 @@ -16,34 +16,35 @@ """ Class implementing a dialog to select the cleanup action. """ + BuildPath = "build" DistPath = "dist" - + def __init__(self, parent=None): """ Constructor - + @param parent reference to the parent widget @type QWidget """ super().__init__(parent) self.setupUi(self) - + msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) - + def getDirectories(self): """ Public method to get the project relative directories to be cleaned. - + @return list of directories to be removed @rtype list of str """ dirs = [] - + if self.buildButton.isChecked() or self.bothButton.isChecked(): dirs.append(PyInstallerCleanupDialog.BuildPath) if self.distButton.isChecked() or self.bothButton.isChecked(): dirs.append(PyInstallerCleanupDialog.DistPath) - + return dirs