ProjectFlask/FlaskConfigDialog.py

changeset 61
fe1e8783a95f
parent 60
02243723ac17
child 64
0ee58185b8df
equal deleted inserted replaced
60:02243723ac17 61:fe1e8783a95f
31 @param project reference to the flask project object 31 @param project reference to the flask project object
32 @type Project 32 @type Project
33 @param parent reference to the parent widget 33 @param parent reference to the parent widget
34 @type QWidget 34 @type QWidget
35 """ 35 """
36 super(FlaskConfigDialog, self).__init__(parent) 36 super().__init__(parent)
37 self.setupUi(self) 37 self.setupUi(self)
38 38
39 self.newEnvironmentButton.setIcon( 39 self.newEnvironmentButton.setIcon(
40 UI.PixmapCache.getIcon("virtualenvConfig")) 40 UI.PixmapCache.getIcon("virtualenvConfig"))
41 41
127 127
128 def __installFlask(self, venvDir): 128 def __installFlask(self, venvDir):
129 """ 129 """
130 Private method to install flask into the newly created environment. 130 Private method to install flask into the newly created environment.
131 131
132 @param venvtDir directory containing the virtual environment 132 @param venvDir directory containing the virtual environment
133 @type str 133 @type str
134 """ 134 """
135 from PipInterface.PipDialog import PipDialog 135 from PipInterface.PipDialog import PipDialog
136 136
137 interpreter = self.__project.getFullCommand("python", venvDir) 137 interpreter = self.__project.getFullCommand("python", venvDir)

eric ide

mercurial