equal
deleted
inserted
replaced
31 import wx |
31 import wx |
32 from gnosis.xml.pickle import * # pylint: disable=import-error |
32 from gnosis.xml.pickle import * # pylint: disable=import-error |
33 from gnosis.xml.pickle.util import setParanoia # pylint: disable=import-error |
33 from gnosis.xml.pickle.util import setParanoia # pylint: disable=import-error |
34 |
34 |
35 import util.paths as paths |
35 import util.paths as paths |
|
36 |
36 from util.TranslationCatalogs import AddCatalog |
37 from util.TranslationCatalogs import AddCatalog |
37 from ConfigTreeNode import ConfigTreeNode |
38 from ConfigTreeNode import ConfigTreeNode |
38 from PLCControler import \ |
39 from PLCControler import \ |
39 LOCATION_CONFNODE, \ |
40 LOCATION_CONFNODE, \ |
40 LOCATION_VAR_MEMORY |
41 LOCATION_VAR_MEMORY |
41 |
42 |
42 base_folder = paths.AbsParentDir(__file__, 2) # noqa |
43 CanFestivalPath = paths.ThirdPartyPath("CanFestival-3") # noqa |
43 CanFestivalPath = os.path.join(base_folder, "CanFestival-3") # noqa |
|
44 sys.path.append(os.path.join(CanFestivalPath, "objdictgen")) # noqa |
44 sys.path.append(os.path.join(CanFestivalPath, "objdictgen")) # noqa |
45 |
45 |
46 # pylint: disable=wrong-import-position |
46 # pylint: disable=wrong-import-position |
47 from nodelist import NodeList |
47 from nodelist import NodeList |
48 from nodemanager import NodeManager |
48 from nodemanager import NodeManager |