diff -r 3b3f7f5a8e40 -r 01f6bfc01251 plugins/python/python.py --- a/plugins/python/python.py Fri Oct 09 17:52:00 2009 +0200 +++ b/plugins/python/python.py Thu Oct 15 17:39:26 2009 +0200 @@ -264,9 +264,6 @@ runtimefile.write(self.GetPythonCode()) runtimefile.close() - if wx.Platform == '__WXMSW__': - matiec_flags = " -I../../matiec/lib" - else: - matiec_flags = " -I../matiec/lib" + matiec_flags = '"-I%s"'%os.path.abspath(self.GetPlugRoot().GetIECLibPath()) return [(Gen_Pythonfile_path, matiec_flags)], "", True, ("runtime_%s.py"%location_str, file(runtimefile_path,"rb"))