eric6/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py

changeset 7229
53054eb5b15a
parent 7192
a22eee00b052
child 7248
60b48ab891fa
equal deleted inserted replaced
7228:6037ddba57aa 7229:53054eb5b15a
5 5
6 """ 6 """
7 Module implementing the setup.py wizard dialog. 7 Module implementing the setup.py wizard dialog.
8 """ 8 """
9 9
10 from __future__ import unicode_literals
11 10
12 import os 11 import os
13 import sys 12 import sys
14 import datetime 13 import datetime
15 14
281 datetime.datetime.now().isoformat().split('.')[0], os.linesep) 280 datetime.datetime.now().isoformat().split('.')[0], os.linesep)
282 code += '__prj__ = "{0}"{1}'.format( 281 code += '__prj__ = "{0}"{1}'.format(
283 self.nameEdit.text(), os.linesep) 282 self.nameEdit.text(), os.linesep)
284 code += os.linesep 283 code += os.linesep
285 284
285 # TODO: is this still needed?
286 if self.descriptionFromFilesCheckBox.isChecked(): 286 if self.descriptionFromFilesCheckBox.isChecked():
287 code += "from __future__ import with_statement{0}".format( 287 code += "from __future__ import with_statement{0}".format(
288 os.linesep) 288 os.linesep)
289 289
290 if self.importCheckBox.isChecked(): 290 if self.importCheckBox.isChecked():

eric ide

mercurial