PluginCxFreeze.py

changeset 8
6baba3f53168
parent 7
9266a2fa0bc9
parent 5
de1e980553fa
child 16
12e6540e9eaf
equal deleted inserted replaced
7:9266a2fa0bc9 8:6baba3f53168
8 """ 8 """
9 9
10 import os 10 import os
11 import sys 11 import sys
12 12
13 from PyQt4.QtCore import QObject, SIGNAL, QTranslator, QCoreApplication 13 from PyQt4.QtCore import QObject, QTranslator, QCoreApplication
14 from PyQt4.QtGui import QDialog, QMessageBox 14 from PyQt4.QtGui import QDialog, QMessageBox
15 15
16 from E5Gui.E5Action import E5Action 16 from E5Gui.E5Action import E5Action
17 from E5Gui.E5Application import e5App 17 from E5Gui.E5Application import e5App
18 18
146 """<p>Generate a distribution package using cx_freeze.""" 146 """<p>Generate a distribution package using cx_freeze."""
147 """ The command is executed in the project path. All""" 147 """ The command is executed in the project path. All"""
148 """ files and directories must be given absolute or""" 148 """ files and directories must be given absolute or"""
149 """ relative to the project directory.</p>""" 149 """ relative to the project directory.</p>"""
150 )) 150 ))
151 self.connect(self.__projectAct, SIGNAL('triggered()'), self.__cxfreeze) 151 self.__projectAct.triggered[()].connect(self.__cxfreeze)
152 e5App().getObject("Project").addE5Actions([self.__projectAct]) 152 e5App().getObject("Project").addE5Actions([self.__projectAct])
153 menu.addAction(self.__projectAct) 153 menu.addAction(self.__projectAct)
154 154
155 error = "" 155 error = ""
156 return None, True 156 return None, True

eric ide

mercurial