Plugins/PluginEricapi.py

changeset 248
f4561c24989a
parent 96
9624a110667d
child 253
3ccdf551bde7
equal deleted inserted replaced
247:b3da30a52337 248:f4561c24989a
163 outfile = outputFileName 163 outfile = outputFileName
164 else: 164 else:
165 root, ext = os.path.splitext(outputFileName) 165 root, ext = os.path.splitext(outputFileName)
166 outfile = "%s-%s%s" % (root, progLanguage.lower(), ext) 166 outfile = "%s-%s%s" % (root, progLanguage.lower(), ext)
167 167
168 outfile = outfile.replace(project.ppath+os.sep, '') 168 outfile = project.getRelativePath(outfile)
169 if outfile not in project.pdata['OTHERS']: 169 if outfile not in project.pdata['OTHERS']:
170 project.pdata['OTHERS'].append(outfile) 170 project.pdata['OTHERS'].append(outfile)
171 project.setDirty(True) 171 project.setDirty(True)
172 project.othersAdded(outfile) 172 project.othersAdded(outfile)

eric ide

mercurial