equal
deleted
inserted
replaced
3 |
3 |
4 # This file is part of Beremiz, a Integrated Development Environment for |
4 # This file is part of Beremiz, a Integrated Development Environment for |
5 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival. |
5 # programming IEC 61131-3 automates supporting plcopen standard and CanFestival. |
6 # |
6 # |
7 # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD |
7 # Copyright (C) 2007: Edouard TISSERANT and Laurent BESSARD |
|
8 # Copyright (C) 2017: Andrey Skvortsov |
8 # |
9 # |
9 # See COPYING file for copyrights details. |
10 # See COPYING file for copyrights details. |
10 # |
11 # |
11 # This program is free software; you can redistribute it and/or |
12 # This program is free software; you can redistribute it and/or |
12 # modify it under the terms of the GNU General Public License |
13 # modify it under the terms of the GNU General Public License |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
25 |
25 import wx |
26 import wx |
26 import os, sys, platform, time, traceback, getopt |
27 import os, sys, platform, time, traceback, getopt |
27 import version |
28 import version |
28 |
29 import util.paths as paths |
29 beremiz_dir = os.path.dirname(os.path.realpath(__file__)) |
30 |
|
31 beremiz_dir = paths.AbsDir(__file__) |
30 |
32 |
31 __version__ = "$Revision: 1.130 $" |
33 __version__ = "$Revision: 1.130 $" |
32 |
34 |
33 if __name__ == '__main__': |
35 if __name__ == '__main__': |
34 # Usage message displayed when help request or when error detected in |
36 # Usage message displayed when help request or when error detected in |