equal
deleted
inserted
replaced
262 runtimefile_path = os.path.join(buildpath, "runtime_%s.py"%location_str) |
262 runtimefile_path = os.path.join(buildpath, "runtime_%s.py"%location_str) |
263 runtimefile = open(runtimefile_path, 'w') |
263 runtimefile = open(runtimefile_path, 'w') |
264 runtimefile.write(self.GetPythonCode()) |
264 runtimefile.write(self.GetPythonCode()) |
265 runtimefile.close() |
265 runtimefile.close() |
266 |
266 |
267 if wx.Platform == '__WXMSW__': |
267 matiec_flags = '"-I%s"'%os.path.abspath(self.GetPlugRoot().GetIECLibPath()) |
268 matiec_flags = " -I../../matiec/lib" |
|
269 else: |
|
270 matiec_flags = " -I../matiec/lib" |
|
271 |
268 |
272 return [(Gen_Pythonfile_path, matiec_flags)], "", True, ("runtime_%s.py"%location_str, file(runtimefile_path,"rb")) |
269 return [(Gen_Pythonfile_path, matiec_flags)], "", True, ("runtime_%s.py"%location_str, file(runtimefile_path,"rb")) |