ProjectPyramid/DistributionTypeSelectionDialog.py

changeset 56
c7adc68350dd
parent 34
d20f7218d53c
child 57
e654970c913e
equal deleted inserted replaced
53:a3ba38d3a25e 56:c7adc68350dd
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to select the distribution file formats. 7 Module implementing a dialog to select the distribution file formats.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 from PyQt4.QtCore import Qt, QProcess 16 from PyQt4.QtCore import Qt, QProcess
11 from PyQt4.QtGui import QDialog, QListWidgetItem 17 from PyQt4.QtGui import QDialog, QListWidgetItem
12 18
13 from E5Gui import E5MessageBox 19 from E5Gui import E5MessageBox
27 33
28 @param project reference to the project object (ProjectPyramid.Project.Project) 34 @param project reference to the project object (ProjectPyramid.Project.Project)
29 @param projectPath path of the Pyramid project (string) 35 @param projectPath path of the Pyramid project (string)
30 @param parent reference to the parent widget (QWidget) 36 @param parent reference to the parent widget (QWidget)
31 """ 37 """
32 super().__init__(parent) 38 super(DistributionTypeSelectionDialog, self).__init__(parent)
33 self.setupUi(self) 39 self.setupUi(self)
34 40
35 errMsg = "" 41 errMsg = ""
36 proc = QProcess() 42 proc = QProcess()
37 cmd = project.getPythonCommand() 43 cmd = project.getPythonCommand()

eric ide

mercurial