--- a/NativeLib.py Wed Apr 12 10:20:01 2017 +0000
+++ b/NativeLib.py Thu Apr 20 13:01:45 2017 +0300
@@ -5,6 +5,7 @@
# programming IEC 61131-3 automates supporting plcopen standard and CanFestival.
#
# Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD
+# Copyright (C) 2017: Andrey Skvortsov
#
# See COPYING file for copyrights details.
#
@@ -23,9 +24,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import os
+import util.paths as paths
from POULibrary import POULibrary
class NativeLibrary(POULibrary):
def GetLibraryPath(self):
- return os.path.join(os.path.split(__file__)[0], "NativeLib.xml")
+ return paths.AbsNeighbourFile(__file__, "NativeLib.xml")